共用方式為


Synonym.BaseServer 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Deploy)> _
Public Property BaseServer As String 
    Get 
    Set
'用途
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)

屬性值

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

範例

使用同義字

請參閱

參考

Synonym 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE SYNONYM (Transact-SQL)