Freigeben über


WMIConn-Konstruktor (String, String)

Initializes a new instance of the WMIConn class, initializing the WMI server name and namespace.

Namespace:  Microsoft.SqlServer.Dts.ManagedConnections
Assembly:  Microsoft.SqlServer.ManagedConnections (in Microsoft.SqlServer.ManagedConnections.dll)

Syntax

'Declaration
Public Sub New ( _
    ServerName As String, _
    Namespace As String _
)
'Usage
Dim ServerName As String
Dim Namespace As String

Dim instance As New WMIConn(ServerName, _
    Namespace)
public WMIConn(
    string ServerName,
    string Namespace
)
public:
WMIConn(
    String^ ServerName, 
    String^ Namespace
)
new : 
        ServerName:string * 
        Namespace:string -> WMIConn
public function WMIConn(
    ServerName : String, 
    Namespace : String
)

Parameter