Share via


EnvironmentVariable.ISfcRenamable.ScriptRename(SfcKey) Method

Definition

Renames the current environment variable script with a new key.

 virtual Microsoft::SqlServer::Management::Sdk::Sfc::ISfcScript ^ Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.ScriptRename(Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey ^ newKey) = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcRenamable::ScriptRename;
Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript ISfcRenamable.ScriptRename (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey newKey);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.ScriptRename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.ScriptRename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
Function ScriptRename (newKey As SfcKey) As ISfcScript Implements ISfcRenamable.ScriptRename

Parameters

newKey
SfcKey

The new key to the current environment variable script.

Returns

The renamed environment variable script.

Implements

Applies to