Delen via


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

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

See Also

Reference

SqlRefactoringLog Class

Microsoft.Data.Schema.Sql.Refactoring Namespace