Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds the specified object to the referenced collection.
Namespace: Microsoft.SqlServer.Management.Smo.Wmi
Assembly: Microsoft.SqlServer.SqlWmiManagement (in Microsoft.SqlServer.SqlWmiManagement.dll)
Syntax
'Declaration
Protected Overridable Sub Add ( _
wmiObj As WmiSmoObject _
)
'Usage
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
)
Parameters
- wmiObj
Type: Microsoft.SqlServer.Management.Smo.Wmi.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
See Also
Reference
Microsoft.SqlServer.Management.Smo.Wmi Namespace