Partager via


WmiSmoObject constructeur (String)

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

Espace de noms :  Microsoft.SqlServer.Management.Smo.Wmi
Assembly :  Microsoft.SqlServer.SqlWmiManagement (dans Microsoft.SqlServer.SqlWmiManagement.dll)

Syntaxe

'Déclaration
Protected Friend Sub New ( _
    name As String _
)
'Utilisation
Dim name As String

Dim instance As New WmiSmoObject(name)
protected internal WmiSmoObject(
    string name
)
protected public:
WmiSmoObject(
    String^ name
)
new : 
        name:string -> WmiSmoObject
 function WmiSmoObject(
    name : String
)

Paramètres

Notes

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