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