Synonym.BaseSchema Property

Gets or sets the schema of the base object.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design,  _
    "dbo")> _
Public Property BaseSchema As String 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Using Synonyms

See Also

Reference

Synonym Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE SYNONYM (Transact-SQL)