PolicyCategoryCollection.Item[String] PolicyCategoryCollection.Item[String] PolicyCategoryCollection.Item[String] Property

Definition

Gets a PolicyCategory object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Dmf::PolicyCategory ^ default[System::String ^] { Microsoft::SqlServer::Management::Dmf::PolicyCategory ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Dmf.PolicyCategory this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As PolicyCategory
Parameters
name
String String String

A String value that specifies the name of the PolicyCategory object in the PolicyCategoryCollection collection.

Property Value

A PolicyCategory object value that represents the policy category that has the specified name.

Examples

Using Collections

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to