Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Initializes a new instance of the WmiSmoObject class with the specified name and collection base class.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Protected Friend Sub New ( _
parentColl As WmiCollectionBase, _
name As String _
)
'Utilisation
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
)
Paramètres
- parentColl
Type : Microsoft.SqlServer.Management.Smo.Wmi.WmiCollectionBase
A WmiCollectionBase object on which the WmiSmoObject object is based.
- name
Type : System.String
A String value that specifies the name of the WmiSmoObject object.
Notes
This constructor is called by derived class constructors to initialize the state in this type.
Exemples
Gestion des services et des paramètres réseau à l'aide du fournisseur WMI
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Wmi