다음을 통해 공유


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
)

매개 변수