PolicyStore.Policies PolicyStore.Policies PolicyStore.Policies Property

Definition

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

public:
 property Microsoft::SqlServer::Management::Dmf::PolicyCollection ^ Policies { Microsoft::SqlServer::Management::Dmf::PolicyCollection ^ get(); };
[Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcObject(Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerRelationship.ChildContainer, Microsoft.SqlServer.Management.Sdk.Sfc.Metadata.SfcContainerCardinality.ZeroToAny, typeof(Microsoft.SqlServer.Management.Dmf.Policy))]
public Microsoft.SqlServer.Management.Dmf.PolicyCollection Policies { get; }
Public ReadOnly Property Policies As PolicyCollection
Property Value

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

Remarks

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.

Applies to