WmiCollectionBase.Add Method
Adds the specified object to the referenced collection.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo.Wmi
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintassi
'Dichiarazione
Protected Overridable Sub Add ( _
wmiObj As WmiSmoObject _
)
protected virtual void Add (
WmiSmoObject wmiObj
)
protected:
virtual void Add (
WmiSmoObject^ wmiObj
)
protected void Add (
WmiSmoObject wmiObj
)
protected function Add (
wmiObj : WmiSmoObject
)
Parametri
- wmiObj
A String value that specifies the name of the object to add to the collection
Osservazioni
This namespace, class, or member is supported only in version 2.0 of the .NET Framework.
Esempio
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Piattaforme
Piattaforme di sviluppo
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Piattaforme di destinazione
Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.
Vedere anche
Riferimento
WmiCollectionBase Class
WmiCollectionBase Members
Microsoft.SqlServer.Management.Smo.Wmi Namespace
Altre risorse
Managing Services and Network Settings by Using WMI Provider
WMI and SQL Server
Connessione a Motore di database di SQL Server