다음을 통해 공유


Policy.ObjectSet 속성

Gets or sets the set of objects that are associated with the policy.

네임스페이스:  Microsoft.SqlServer.Management.Dmf
어셈블리:  Microsoft.SqlServer.Dmf(Microsoft.SqlServer.Dmf.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
<SfcReferenceAttribute(GetType(ObjectSet), "PolicyStore/ObjectSet[@Name='{0}']",  _
    )> _
Public Property ObjectSet As String 
    Get 
    Set
‘사용 방법
Dim instance As Policy 
Dim value As String 

value = instance.ObjectSet

instance.ObjectSet = value
[SfcPropertyAttribute(SfcPropertyFlags.None)]
[SfcReferenceAttribute(typeof(ObjectSet), "PolicyStore/ObjectSet[@Name='{0}']", 
    )]
public string ObjectSet { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None)]
[SfcReferenceAttribute(typeof(ObjectSet), L"PolicyStore/ObjectSet[@Name='{0}']", 
    )]
public:
property String^ ObjectSet {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None)>]
[<SfcReferenceAttribute(typeof(ObjectSet), "PolicyStore/ObjectSet[@Name='{0}']", 
    )>]
member ObjectSet : string with get, set
function get ObjectSet () : String 
function set ObjectSet (value : String)

속성 값

유형: System.String
A String object that specifies the object set.

속성 설정

참고 항목

참조

Policy 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스