ScriptSchemaObjectBase.Name Property

 

Applies To: SQL Server 2016 Preview

Gets or sets the name of the schema.

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

Syntax

[SfcKeyAttribute(1)]
[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)]
public override string Name { get; set; }
public:
[SfcKeyAttribute(1)]
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::ReadOnlyAfterCreation | SfcPropertyFlags::Standalone | SfcPropertyFlags::Design | SfcPropertyFlags::Matrix)]
property String^ Name {
    virtual String^ get() override;
    virtual void set(String^ value) override;
}
[<SfcKeyAttribute(1)>]
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.Design | SfcPropertyFlags.Matrix)>]
override Name : string with get, set
<SfcKeyAttribute(1)>
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design Or SfcPropertyFlags.Matrix)>
Public Overrides Property Name As String

Property Value

Type: System.String

A String value that specifies the schema

Examples

Legacy Code Example

Scripting

See Also

ScriptSchemaObjectBase Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top