Méthode Add
Adds the specified object to the referenced collection.
Espace de noms : Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.SqlWmiManagement (en Microsoft.SqlServer.SqlWmiManagement.dll)
Syntaxe
'Déclaration
Protected Overridable Sub Add ( _
wmiObj As WmiSmoObject _
)
'Utilisation
Dim wmiObj As WmiSmoObject
Me.Add(wmiObj)
protected virtual void Add(
WmiSmoObject wmiObj
)
protected:
virtual void Add(
WmiSmoObject^ wmiObj
)
abstract Add :
wmiObj:WmiSmoObject -> unit
override Add :
wmiObj:WmiSmoObject -> unit
protected function Add(
wmiObj : WmiSmoObject
)
Paramètres
- wmiObj
Type : Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiSmoObject
A String value that specifies the name of the object to add to the collection
Voir aussi