Condividi tramite


Costruttore WmiSmoObject (WmiCollectionBase, String)

Initializes a new instance of the WmiSmoObject class with the specified name and collection base class.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Wmi
Assembly:  Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)

Sintassi

'Dichiarazione
Protected Friend Sub New ( _
    parentColl As WmiCollectionBase, _
    name As String _
)
'Utilizzo
Dim parentColl As WmiCollectionBase 
Dim name As String 

Dim instance As New WmiSmoObject(parentColl, _
    name)
protected internal WmiSmoObject(
    WmiCollectionBase parentColl,
    string name
)
protected public:
WmiSmoObject(
    WmiCollectionBase^ parentColl, 
    String^ name
)
new : 
        parentColl:WmiCollectionBase * 
        name:string -> WmiSmoObject
function WmiSmoObject(
    parentColl : WmiCollectionBase, 
    name : String
)

Parametri

Osservazioni

This constructor is called by derived class constructors to initialize the state in this type.

Esempi

Gestione di servizi e di impostazioni di rete tramite il provider WMI

Vedere anche

Riferimento

WmiSmoObject Classe

Overload WmiSmoObject

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Wmi

Altre risorse

WMI and SQL Server

Connessione al Motore di database di SQL Server