Dela via


SqlRefactoringLog.AppendMoveSchemaRecord Method

Appends a move schema record to the refactoring log.

Namespace:  Microsoft.Data.Schema.Sql.Refactoring
Assembly:  Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)

Syntax

'Declaration
Public Sub AppendMoveSchemaRecord ( _
    elementToMove As ISqlModelElement, _
    newOwnerSchema As String _
)
public void AppendMoveSchemaRecord(
    ISqlModelElement elementToMove,
    string newOwnerSchema
)
public:
void AppendMoveSchemaRecord(
    ISqlModelElement^ elementToMove, 
    String^ newOwnerSchema
)
member AppendMoveSchemaRecord : 
        elementToMove:ISqlModelElement * 
        newOwnerSchema:string -> unit 
public function AppendMoveSchemaRecord(
    elementToMove : ISqlModelElement, 
    newOwnerSchema : String
)

Parameters

  • newOwnerSchema
    Type: System.String
    The name of the schema to which the element should be moved.

Remarks

If a move of this type of object to a new schema is not supported, then no record will be added to the log.

.NET Framework Security

See Also

Reference

SqlRefactoringLog Class

Microsoft.Data.Schema.Sql.Refactoring Namespace