Share via


AlterSchemaStatement.ObjectName Property

Gets or sets the securable name that is the one-part or two-part name of a schema-contained securable to be moved into the schema.

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property ObjectName As SchemaObjectName 
    Get 
    Set
'Usage
Dim instance As AlterSchemaStatement 
Dim value As SchemaObjectName 

value = instance.ObjectName

instance.ObjectName = value
public SchemaObjectName ObjectName { get; set; }
public:
property SchemaObjectName^ ObjectName {
    SchemaObjectName^ get ();
    void set (SchemaObjectName^ value);
}
member ObjectName : SchemaObjectName with get, set
function get ObjectName () : SchemaObjectName 
function set ObjectName (value : SchemaObjectName)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.SchemaObjectName
The one-part or two-part name of a schema-contained securable to be moved into the schema.

See Also

Reference

AlterSchemaStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace