Condividi tramite


Proprietà Synonym.BaseServer

Gets or sets the instance of SQL Server 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.Deploy)> _
Public Property BaseServer As String 
    Get 
    Set
'Utilizzo
Dim instance As Synonym 
Dim value As String 

value = instance.BaseServer

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

Valore proprietà

Tipo: System.String
A String value that specifies the instance of SQL Server on which the base object resides.

Esempi

Utilizzo dei sinonimi

Vedere anche

Riferimento

Synonym Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

CREATE SYNONYM (Transact-SQL)