Share via


CatalogFolder.ISfcRenamable.ScriptRename Method

Renames the script of a folder.

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

Syntax

'Declaration
Private Function ScriptRename ( _
    newKey As SfcKey _
) As ISfcScript Implements ISfcRenamable.ScriptRename
'Usage
Dim instance As CatalogFolder 
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The script of a folder.

Implements

ISfcRenamable.ScriptRename(SfcKey)

See Also

Reference

CatalogFolder Class

Microsoft.SqlServer.Management.IntegrationServices Namespace