Dela via


ServerComparer Constructor (ServerConnection)

Initializes an instance of the ServerComparer class with information from the default database on the specified connection.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Sub New ( _
    conn As ServerConnection _
)
'Usage
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
)

Parameters