Condividi tramite


Proprietà Parent

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

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

Valore proprietà

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

Osservazioni

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.