Condividi tramite


Proprietà Synonym.BaseDatabase

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property BaseDatabase As String 
    Get 
    Set
'Utilizzo
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)

Valore proprietà

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

Esempi

Utilizzo dei sinonimi

Vedere anche

Riferimento

Synonym Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE SYNONYM (Transact-SQL)