Partilhar via


ISfcRenamable.ScriptRename(SfcKey) Method

Definition

Produce the script to rename this object to the given key. This assumes the object can logically rename itself based on all or part of the key data. For single string-oriented renaming see ISfcRenamable. For KeyChain-oriented moving see ISfcMovable.

public Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ScriptRename (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey newKey);
abstract member ScriptRename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Public Function ScriptRename (newKey As SfcKey) As ISfcScript

Parameters

newKey
SfcKey

Returns

The script to rename this object

Applies to