EnvironmentVariable.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.
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.