WMIConn Constructor (String, String)
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