ServerComparer Constructor (ServerConnection)
Initializes an instance of the ServerComparer class with information from the default database on the specified connection.
Espacio de nombres: Microsoft.SqlServer.Management.Common
Ensamblado: Microsoft.SqlServer.ConnectionInfo (en Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxis
'Declaración
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
- conn
Tipo: Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object specifying an instance of the Database Engine.