مشاركة عبر


UserDefinedType.ChangeSchema Method

Changes the schema of the alias data type.

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

Syntax

'Declaration
Public Sub ChangeSchema ( _
    newSchema As String _
)
'Usage
Dim instance As UserDefinedType 
Dim newSchema As String

instance.ChangeSchema(newSchema)
public void ChangeSchema(
    string newSchema
)
public:
void ChangeSchema(
    String^ newSchema
)
member ChangeSchema : 
        newSchema:string -> unit
public function ChangeSchema(
    newSchema : String
)

Parameters

Examples

Working with Data Types

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with CLR User-defined Types

CREATE TYPE (Transact-SQL)