共用方式為


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 中)

語法

'宣告
<SfcReferenceAttribute(GetType(ObjectSet), "PolicyStore/ObjectSet[@Name='{0}']",  _
    )> _
<SfcPropertyAttribute(SfcPropertyFlags.None)> _
Public Property ObjectSet As String
    Get
    Set
'用途
Dim instance As Policy
Dim value As String

value = instance.ObjectSet

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

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

設定屬性