Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets a PolicyCategory object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Dmf
Assembly: Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
name As String _
) As PolicyCategory
Get
'Usage
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
- name
Type: System.String
A String value that specifies the name of the PolicyCategory object in the PolicyCategoryCollection collection.
Property Value
Type: Microsoft.SqlServer.Management.Dmf.PolicyCategory
A PolicyCategory 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.