ServerComparer 构造函数 (ServerConnection)
Initializes an instance of the ServerComparer class with information from the default database on the specified connection.
命名空间: Microsoft.SqlServer.Management.Common
程序集: Microsoft.SqlServer.ConnectionInfo(在 Microsoft.SqlServer.ConnectionInfo.dll 中)
语法
声明
Public Sub New ( _
conn As ServerConnection _
)
用法
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
)
参数
- conn
类型:Microsoft.SqlServer.Management.Common. . :: . .ServerConnection
A ServerConnection object specifying an instance of the Database Engine.