Item 屬性 (Int32)
Gets a PolicyCategorySubscription object in the collection by ID value.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Public ReadOnly Default Property Item ( _
id As Integer _
) As PolicyCategorySubscription
Get
'用途
Dim instance As PolicyCategorySubscriptionCollection
Dim id As Integer
Dim value As PolicyCategorySubscription
value = instance(id)
public PolicyCategorySubscription this[
int id
] { get; }
public:
property PolicyCategorySubscription^ default[int id] {
PolicyCategorySubscription^ get (int id);
}
member Item : PolicyCategorySubscription
JScript 支援索引屬性的使用,但不支援新屬性的宣告。
參數
- id
型別:System. . :: . .Int32
A Int32 value that specifies the ID value of the PolicyCategorySubscription object in the PolicyCategorySubscriptionCollection collection.
屬性值
型別:Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategorySubscription
A PolicyCategorySubscription object value that represents the policy category that has the specified name.
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。