다음을 통해 공유


Synonym.Parent 속성

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

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

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject, SfcObjectFlags.Design)> _
Public Property Parent As Database 
    Get 
    Set
‘사용 방법
Dim instance As Synonym 
Dim value As Database 

value = instance.Parent

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.Database
A Database object that is the parent of the Synonym object.

동의어 사용

참고 항목

참조

Synonym 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE SYNONYM(Transact-SQL)