Freigeben über


Policy.ObjectSet-Eigenschaft

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

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
<SfcReferenceAttribute(GetType(ObjectSet), "PolicyStore/ObjectSet[@Name='{0}']",  _
    )> _
Public Property ObjectSet As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.String
A String object that specifies the object set.

Beispiele

Festlegen von Eigenschaften

Siehe auch

Verweis

Policy Klasse

Microsoft.SqlServer.Management.Dmf-Namespace