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
- elementToMove
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlModelElement
The element to move to the new schema. The element should still be owned by its previous schema.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.