Share via


SqlConnectionInfo コンストラクター (String)

SqlConnectionInfo クラスの新しいインスタンスを初期化します。

名前空間:  Microsoft.SqlServer.Management.Common
アセンブリ:  Microsoft.SqlServer.ConnectionInfo (Microsoft.SqlServer.ConnectionInfo.dll)

構文

'宣言
Public Sub New ( _
    serverName As String _
)
'使用
Dim serverName As String 

Dim instance As New SqlConnectionInfo(serverName)
public SqlConnectionInfo(
    string serverName
)
public:
SqlConnectionInfo(
    String^ serverName
)
new : 
        serverName:string -> SqlConnectionInfo
public function SqlConnectionInfo(
    serverName : String
)

パラメーター

  • serverName
    型: System.String
    SQL Server のインスタンスを示す String オブジェクト値です。

関連項目

参照

SqlConnectionInfo クラス

SqlConnectionInfo オーバーロード

Microsoft.SqlServer.Management.Common 名前空間