共用方式為


Parent 屬性

Gets or sets the DacStore object that is the parent of the DacInstance object.

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

語法

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

value = instance.Parent

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

屬性值

型別:Microsoft.SqlServer.Management.Dac. . :: . .DacDomain
A DacStore object value that specifies the parent object.

備註

Each instance of the Database Engine has a DAC store. When a DAC instance is deployed or registered, the Parent property is set to the DAC store for the instance of the Database Engine where the DAC instance is created.