ISfcRenamable.ScriptRename(SfcKey) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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