PolicyStore.Policies Property


Represents a collection of Policy objects. Each Policy object represents a policy-based Management policy.

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

	SfcContainerCardinality.ZeroToAny, typeof(Policy))]
public PolicyCollection Policies { get; }

Property Value

Type: Microsoft.SqlServer.Management.Dmf.PolicyCollection

A PolicyCollection object that represents all the policies that are defined on the policy store.

This collection references specific object sets by specifying the name of the policy. To add a new policy to the collection, call the policy constructor Policy.

Return to top