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.