다음을 통해 공유


Synonym.BaseDatabase 속성

Gets or sets the base database on which the base object resides.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property BaseDatabase As String 
    Get 
    Set
‘사용 방법
Dim instance As Synonym 
Dim value As String 

value = instance.BaseDatabase

instance.BaseDatabase = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string BaseDatabase { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ BaseDatabase {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member BaseDatabase : string with get, set
function get BaseDatabase () : String 
function set BaseDatabase (value : String)

속성 값

유형: System.String
A String value that specifies the base database.

동의어 사용

참고 항목

참조

Synonym 클래스

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

관련 자료

CREATE SYNONYM(Transact-SQL)