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)