PolicyCategorySubscriptionCollection.Item-Eigenschaft (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 unterstützt die Verwendung indizierter Eigenschaften, aber nicht die Deklaration neuer Eigenschaften.
Parameter
- id
Typ: System.Int32
A Int32 value that specifies the ID value of the PolicyCategorySubscription object in the PolicyCategorySubscriptionCollection collection.
Eigenschaftswert
Typ: Microsoft.SqlServer.Management.Dmf.PolicyCategorySubscription
A PolicyCategorySubscription object value that represents the policy category that has the specified name.
Hinweise
Der Namespace, die Klasse oder das Element wird nur in der Version 2.0 von Microsoft .NET Framework unterstützt.