Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes an instance of the ServerComparer class with information from the specified 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, _
databaseName As String _
)
'Usage
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
)
Parameters
- conn
Type: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object specifying an instance of the Database Engine.
- databaseName
Type: System.String
A String value specifying the name of the database.