Compartilhar via


Propriedade BaseServer

Gets or sets the instance of SQL Server on which the base object resides.

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

Sintaxe

'Declaração
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property BaseServer As String
    Get
    Set
'Uso
Dim instance As Synonym
Dim value As String

value = instance.BaseServer

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

Valor da propriedade

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