CollectionItemCollection.AddCollectionItem 方法
Adds a collection item to the collection set.
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public Sub AddCollectionItem ( _
item As CollectionItem _
)
'用途
Dim instance As CollectionItemCollection
Dim item As CollectionItem
instance.AddCollectionItem(item)
public void AddCollectionItem(
CollectionItem item
)
public:
void AddCollectionItem(
CollectionItem^ item
)
member AddCollectionItem :
item:CollectionItem -> unit
public function AddCollectionItem(
item : CollectionItem
)
參數
- item
型別:Microsoft.SqlServer.Management.Collector.CollectionItem
A CollectionItem object.
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.