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 命名空间