PolicyCollection.Item Property (String)


Gets a Policy object in the collection by name.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

public Policy this[
	string name
] { get; }


Type: System.String

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

Property Value

Type: Microsoft.SqlServer.Management.Dmf.Policy

A Policy object value that represents the policy that has the specified name.

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

Return to top