共用方式為


SqlConnectionInfo 建構 (String)

Initializes a new instance of the SqlConnectionInfo class.

命名空間:  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
)

參數