Propriedade Item (String)
Gets a PolicyCategory object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (em Microsoft.SqlServer.Dmf.dll)
Sintaxe
'Declaração
Public ReadOnly Default Property Item ( _
name As String _
) As PolicyCategory
Get
'Uso
Dim instance As PolicyCategoryCollection
Dim name As String
Dim value As PolicyCategory
value = instance(name)
public PolicyCategory this[
string name
] { get; }
public:
property PolicyCategory^ default[String^ name] {
PolicyCategory^ get (String^ name);
}
member Item : PolicyCategory
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the PolicyCategory object in the PolicyCategoryCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategory
A PolicyCategory 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.