Propriedade do RDL PolicyCategorySubscriptionCollection.Item (Int32)
Gets a PolicyCategorySubscription object in the collection by ID value.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
id As Integer _
) As PolicyCategorySubscription
Get
'Uso
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- id
Tipo: System.Int32
A Int32 value that specifies the ID value of the PolicyCategorySubscription object in the PolicyCategorySubscriptionCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Dmf.PolicyCategorySubscription
A PolicyCategorySubscription object value that represents the policy category that has the specified name.
Comentários
Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.