Share via


DacInstance.Parent Property

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

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

Syntax

'Declaration
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectCardinality.One)> _
Public Property Parent As DacDomain
    Get
    Set
'Usage
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)

Property Value

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

Remarks

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.

See Also

Reference

DacInstance Class

Microsoft.SqlServer.Management.Dac Namespace