EnvironmentVariable.ISfcRenamable.Rename(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 with a new key.
virtual void Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.Rename(Microsoft::SqlServer::Management::Sdk::Sfc::SfcKey ^ newKey) = Microsoft::SqlServer::Management::Sdk::Sfc::ISfcRenamable::Rename;
void ISfcRenamable.Rename (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey newKey);
abstract member Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.Rename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> unit
override this.Microsoft.SqlServer.Management.Sdk.Sfc.ISfcRenamable.Rename : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey -> unit
Sub Rename (newKey As SfcKey) Implements ISfcRenamable.Rename
Parameters
- newKey
- SfcKey
The new key to the current environment variable.