다음을 통해 공유


Parent 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
<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.

예제

속성 설정