Compartilhar via


Construtor ServerComparer (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 (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public Sub New ( _
    conn As ServerConnection _
)
'Uso
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
)

Parâmetros