共用方式為


EnvironmentVariable.ISfcRenamable.Rename(SfcKey) Method

Definition

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.

Implements

Applies to