Add 方法
Adds the specified object to the referenced collection.
命名空間: Microsoft.SqlServer.Management.Smo.Wmi
組件: Microsoft.SqlServer.SqlWmiManagement (在 Microsoft.SqlServer.SqlWmiManagement.dll 中)
語法
'宣告
Protected Overridable Sub Add ( _
wmiObj As WmiSmoObject _
)
'用途
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
)
參數
- wmiObj
型別:Microsoft.SqlServer.Management.Smo.Wmi. . :: . .WmiSmoObject
A String value that specifies the name of the object to add to the collection