共用方式為


Policy.Parent 屬性

Gets or sets the PolicyStore that is the parent of the policy object.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As PolicyStore 
    Get 
    Set
'用途
Dim instance As Policy 
Dim value As PolicyStore 

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)]
public PolicyStore Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject, SfcObjectCardinality::One)]
public:
property PolicyStore^ Parent {
    PolicyStore^ get ();
    void set (PolicyStore^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)>]
member Parent : PolicyStore with get, set
function get Parent () : PolicyStore 
function set Parent (value : PolicyStore)

屬性值

型別:Microsoft.SqlServer.Management.Dmf.PolicyStore
A PolicyStore object that is the parent of the object.

範例

設定屬性

請參閱

參考

Policy 類別

Microsoft.SqlServer.Management.Dmf 命名空間