Partager via


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