Policies 속성
Represents a collection of Policy objects. Each Policy object represents a policy-based Management policy.
네임스페이스: Microsoft.SqlServer.Management.Dmf
어셈블리: Microsoft.SqlServer.Dmf.dll의 Microsoft.SqlServer.Dmf
구문
‘선언
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Policy))> _
Public ReadOnly Property Policies As PolicyCollection
Get
‘사용 방법
Dim instance As PolicyStore
Dim value As PolicyCollection
value = instance.Policies
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Policy))]
public PolicyCollection Policies { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Policy))]
public:
property PolicyCollection^ Policies {
PolicyCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Policy))>]
member Policies : PolicyCollection
function get Policies () : PolicyCollection
속성 값
형식: 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.
이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.