Udostępnij przez


Właściwość Item (String)

Pobiera PolicyCategory obiektu kolekcja według nazwy.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Syntax

'Deklaracja
Public ReadOnly Default Property Item ( _
    name As String _
) As PolicyCategory
    Get
'Użycie
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 supports the use of indexed properties, but not the declaration of new ones.

Parameters

Wartość właściwości

Typ: Microsoft.SqlServer.Management.Dmf. . :: . .PolicyCategory
A PolicyCategory obiektu wartość reprezentująca kategorii zasad ma określoną nazwę.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.