Export (0) Print
Expand All

EnvironmentVariable.ISfcRenamable.ScriptRename Method

Renames the current environment variable script with a new key.

Namespace:  Microsoft.SqlServer.Management.IntegrationServices
Assembly:  Microsoft.SqlServer.Management.IntegrationServices (in Microsoft.SqlServer.Management.IntegrationServices.dll)

'Declaration
Private Function ScriptRename ( _
	newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Usage
Dim instance As EnvironmentVariable 
Dim newKey As SfcKey 
Dim returnValue As ISfcScript 

returnValue = CType(instance, ISfcRenamable).ScriptRename(newKey)

Parameters

newKey
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
The new key to the current environment variable script.

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The renamed environment variable script.

Implements

ISfcRenamable.ScriptRename(SfcKey)

Community Additions

ADD
Show:
© 2015 Microsoft