EnvironmentVariable.ISfcRenamable.ScriptRename 方法
Renames the current environment variable script with a new key.
命名空间: Microsoft.SqlServer.Management.IntegrationServices
程序集: Microsoft.SqlServer.Management.IntegrationServices(在 Microsoft.SqlServer.Management.IntegrationServices.dll 中)
语法
声明
Private Function ScriptRename ( _
newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
用法
Dim instance As EnvironmentVariable
Dim newKey As SfcKey
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcRenamable).ScriptRename(newKey)
ISfcScript ISfcRenamable.ScriptRename(
SfcKey newKey
)
private:
virtual ISfcScript^ ScriptRename(
SfcKey^ newKey
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename :
newKey:SfcKey -> ISfcScript
private override ScriptRename :
newKey:SfcKey -> ISfcScript
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- newKey
类型:Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The new key to the current environment variable script.
返回值
类型:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The renamed environment variable script.
实现
ISfcRenamable.ScriptRename(SfcKey)