你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PostgreSqlConnectionInfo(String, Int32) 构造函数

定义

初始化 PostgreSqlConnectionInfo 的新实例。

public PostgreSqlConnectionInfo (string serverName, int port);
new Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo : string * int -> Azure.ResourceManager.DataMigration.Models.PostgreSqlConnectionInfo
Public Sub New (serverName As String, port As Integer)

参数

serverName
String

服务器的名称。

port
Int32

服务器的端口。

例外

serverName 为 null。

适用于