Propriété Synonym.BaseDatabase

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

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

Valeur de propriété

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

Exemples

Utilisation de synonymes

Voir aussi

Référence

Synonym Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE SYNONYM (Transact-SQL)