PolicyCollection.Item[String] PolicyCollection.Item[String] PolicyCollection.Item[String] Property

Definition

Gets a Policy object in the collection by name.

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

A String value that specifies the position of the Policy object in the PolicyCollection collection.

Property Value

A Policy object value that represents the policy 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