Compartir a través de


WMIConn Constructor (String, String)

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

Espacio de nombres:  Microsoft.SqlServer.Dts.ManagedConnections
Ensamblado:  Microsoft.SqlServer.ManagedConnections (en Microsoft.SqlServer.ManagedConnections.dll)

Sintaxis

'Declaración
Public Sub New ( _
    ServerName As String, _
    Namespace As String _
)
'Uso
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
)

Parámetros

  • ServerName
    Tipo: System.String
    The name of the server to connect to as a WMI connection.
  • Namespace
    Tipo: System.String
    The namespace that the connection manager uses.

Vea también

Referencia

WMIConn Clase

Sobrecarga de WMIConn

Espacio de nombres Microsoft.SqlServer.Dts.ManagedConnections