Synonym.Schema Property

 

Applies To: SQL Server 2016 Preview

clsCompliantAlternative

Gets or sets a String value that specifies the name of the schema that contains the synonym.

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

Syntax

[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)]
[SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver), 
    "Resolve", new string[] { ... })]
[SfcKeyAttribute(0)]
public override string Schema { get; set; }
public:
[CLSCompliantAttribute(false)]
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::ReadOnlyAfterCreation | SfcPropertyFlags::Standalone | SfcPropertyFlags::SqlAzureDatabase | SfcPropertyFlags::Design | SfcPropertyFlags::Matrix)]
[SfcReferenceAttribute((Schema^::typeid), (SchemaCustomResolver^::typeid), 
    "Resolve", new array<String^>^ { ... })]
[SfcKeyAttribute(0)]
property String^ Schema {
    virtual String^ get() override;
    virtual void set(String^ value) override;
}
[<CLSCompliantAttribute(false)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)>]
[<SfcReferenceAttribute(typeof(Schema), typeof(SchemaCustomResolver),
    "Resolve", [| ... |])>]
[<SfcKeyAttribute(0)>]
override Schema : string with get, set
<CLSCompliantAttribute(False)>
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Matrix)>
<SfcReferenceAttribute(GetType(Schema), GetType(SchemaCustomResolver),
    "Resolve", New String() { ... })>
<SfcKeyAttribute(0)>
Public Overrides Property Schema As String

Property Value

Type: System.String

A String value that specifies the name of the schema that contains the synonym.

See Also

Synonym Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top