Share via


WmiCollectionBase.Add(WmiSmoObject) Method

Definition

Adds the specified object to the referenced collection.

protected:
 virtual void Add(Microsoft::SqlServer::Management::Smo::Wmi::WmiSmoObject ^ wmiObj);
protected virtual void Add (Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject wmiObj);
abstract member Add : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject -> unit
override this.Add : Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject -> unit
Protected Overridable Sub Add (wmiObj As WmiSmoObject)

Parameters

wmiObj
WmiSmoObject

A String value that specifies the name of the object to add to the collection

Examples

Managing Services and Network Settings by Using WMI Provider

Applies to

See also