共用方式為


Synonym.BaseSchema 屬性

Gets or sets the schema of the base object.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design,  _
    "dbo")> _
Public Property BaseSchema As String 
    Get 
    Set
'用途
Dim instance As Synonym 
Dim value As String 

value = instance.BaseSchema

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

屬性值

型別:System.String
A String value that specifies the schema of the base object.

範例

使用同義字

請參閱

參考

Synonym 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE SYNONYM (Transact-SQL)