共用方式為


ServerComparer 建構 (ServerConnection)

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Sub New ( _
    conn As ServerConnection _
)
'用途
Dim conn As ServerConnection

Dim instance As New ServerComparer(conn)
public ServerComparer(
    ServerConnection conn
)
public:
ServerComparer(
    ServerConnection^ conn
)
new : 
        conn:ServerConnection -> ServerComparer
public function ServerComparer(
    conn : ServerConnection
)