Share via


Synonym.BaseDatabase Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property BaseDatabase As String
    Get
    Set
'Usage
Dim instance As Synonym
Dim value As String

value = instance.BaseDatabase

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

Property Value

Type: System.String
A String value that specifies the base database.

Examples

Using Synonyms