Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Produces the script to rename this object to the specified key. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Namespace: Microsoft.SqlServer.Management.Sdk.Sfc
Assembly: Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntax
'Declaration
Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript
'Usage
Dim instance As ISfcRenamable
Dim newKey As SfcKey
Dim returnValue As ISfcScript
returnValue = instance.ScriptRename(newKey)
ISfcScript ScriptRename(
SfcKey newKey
)
ISfcScript^ ScriptRename(
SfcKey^ newKey
)
abstract ScriptRename :
newKey:SfcKey -> ISfcScript
function ScriptRename(
newKey : SfcKey
) : ISfcScript
Parameters
- newKey
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The SfcKey object that contains the new name.
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the script.