Поделиться через


Конструктор ServerComparer (ServerConnection, String)

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

Пространство имен:  Microsoft.SqlServer.Management.Common
Сборка:  Microsoft.SqlServer.ConnectionInfo (в Microsoft.SqlServer.ConnectionInfo.dll)

Синтаксис

'Декларация
Public Sub New ( _
    conn As ServerConnection, _
    databaseName As String _
)
'Применение
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
)

Параметры