Condividi tramite


Costruttore ServerComparer (ServerConnection, String)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    conn As ServerConnection, _
    databaseName As String _
)
'Utilizzo
Dim conn As ServerConnection 
Dim databaseName As String 

Dim instance As New ServerComparer(conn, databaseName)
public ServerComparer(
    ServerConnection conn,
    string databaseName
)
public:
ServerComparer(
    ServerConnection^ conn, 
    String^ databaseName
)
new : 
        conn:ServerConnection * 
        databaseName:string -> ServerComparer
public function ServerComparer(
    conn : ServerConnection, 
    databaseName : String
)

Parametri

  • databaseName
    Tipo: String
    A String value specifying the name of the database.

Vedere anche

Riferimento

ServerComparer Classe

Overload ServerComparer

Spazio dei nomi Microsoft.SqlServer.Management.Common