Compartir a través de


Parent Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Dac
Ensamblado:  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Sintaxis

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

Valor de la propiedad

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

Comentarios

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.