Свойство DatabaseOptions.Parent
Gets the Database object that is the parent of the DatabaseOptions object.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Database
Get
'Применение
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
Значение свойства
Тип: Microsoft.SqlServer.Management.Smo.Database
A Database object that owns the DatabaseOptions object.
Примеры
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.Smo