Item 屬性 (String)
取得收集項的名稱。
命名空間: Microsoft.SqlServer.Management.Collector
組件: Microsoft.SqlServer.Management.Collector (在 Microsoft.SqlServer.Management.Collector.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
name As String _
) As CollectionItem
Get
'用途
Dim instance As CollectionItemCollection
Dim name As String
Dim value As CollectionItem
value = instance(name)
public CollectionItem this[
string name
] { get; }
public:
property CollectionItem^ default[String^ name] {
CollectionItem^ get (String^ name);
}
member Item : CollectionItem
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- name
型別:System. . :: . .String
收集項的名稱。
屬性值
型別:Microsoft.SqlServer.Management.Collector. . :: . .CollectionItem
Sting 值,這個值是收集項的名稱。
備註
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.