PolicyCategorySubscriptionCollection.Item Property (Int32)
Gets a PolicyCategorySubscription object in the collection by ID value.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
id As Integer _
) As PolicyCategorySubscription
Get
'Usage
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- id
Type: System.Int32
A Int32 value that specifies the ID value of the PolicyCategorySubscription object in the PolicyCategorySubscriptionCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Dmf.PolicyCategorySubscription
A PolicyCategorySubscription object value that represents the policy category that has the specified name.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.