ISfcRenamable.ScriptRename Method (SfcKey)


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)

ISfcScript ScriptRename(
	SfcKey newKey


Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey

The T:Microsoft.SqlServer.Management.Sdk.Sfc. SfcKey object that contains the new name.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript

An ISfcScript object that contains the script.

Return to top