Initializes a new instance of the WMIConn class, initializing the WMI server name and namespace.
命名空间: Microsoft.SqlServer.Dts.ManagedConnections
程序集: Microsoft.SqlServer.ManagedConnections (in microsoft.sqlserver.managedconnections.dll)
语法
声明
Public Sub New ( _
ServerName As String, _
Namespace As String _
)
public WMIConn (
string ServerName,
string Namespace
)
public:
WMIConn (
String^ ServerName,
String^ Namespace
)
public WMIConn (
String ServerName,
String Namespace
)
public function WMIConn (
ServerName : String,
Namespace : String
)
参数
- ServerName
The name of the server to connect to as a WMI connection.
- Namespace
The namespace that the connection manager uses.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
WMIConn Class
WMIConn Members
Microsoft.SqlServer.Dts.ManagedConnections Namespace