Compartir a través de


Parent Propiedad

Gets the Database object that is the parent of the DatabaseOptions object.

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

Sintaxis

'Declaración
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Database
    Get
'Uso
Dim instance As DatabaseOptions
Dim value As Database

value = instance.Parent
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Database Parent { get; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Database^ Parent {
    Database^ get ();
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Database
function get Parent () : Database

Valor de la propiedad

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Database
A Database object that owns the DatabaseOptions object.