Поделиться через


Свойство 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.