SqlRefactoringLog.AppendRenameRecord Method
Appends a rename-refactoring record to the current log.
Namespace: Microsoft.Data.Schema.Sql.Refactoring
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Public Sub AppendRenameRecord ( _
elementToRename As ISqlModelElement, _
newName As String _
)
public void AppendRenameRecord(
ISqlModelElement elementToRename,
string newName
)
public:
void AppendRenameRecord(
ISqlModelElement^ elementToRename,
String^ newName
)
member AppendRenameRecord :
elementToRename:ISqlModelElement *
newName:string -> unit
public function AppendRenameRecord(
elementToRename : ISqlModelElement,
newName : String
)
Parameters
- elementToRename
Type: Microsoft.Data.Schema.Sql.SchemaModel.ISqlModelElement
The element to be renamed. The element has not been renamed (it still has its previous name).
- newName
Type: System.String
The new name of the element.
Remarks
If preservation of the intent to rename the element 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.