Delen via


Condition.ISfcRenamable.ScriptRename Method

Renames the script identified by the SfcKey.

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

Syntax

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

returnValue = CType(instance, ISfcRenamable).ScriptRename(key)
ISfcScript ISfcRenamable.ScriptRename(
    SfcKey key
)
private:
virtual ISfcScript^ ScriptRename(
    SfcKey^ key
) sealed = ISfcRenamable::ScriptRename
private abstract ScriptRename : 
        key:SfcKey -> ISfcScript  
private override ScriptRename : 
        key: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
A ISfcScript object.

Implements

ISfcRenamable.ScriptRename(SfcKey)

See Also

Reference

Condition Class

Microsoft.SqlServer.Management.Dmf Namespace