Share via


ISfcMovable.ScriptMove Method

Produces the script to move this object under the specified parent object Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Function ScriptMove ( _
    newParent As SfcInstance _
) As ISfcScript
'Usage
Dim instance As ISfcMovable
Dim newParent As SfcInstance
Dim returnValue As ISfcScript

returnValue = instance.ScriptMove(newParent)
ISfcScript ScriptMove(
    SfcInstance newParent
)
ISfcScript^ ScriptMove(
    SfcInstance^ newParent
)
abstract ScriptMove : 
        newParent:SfcInstance -> ISfcScript 
function ScriptMove(
    newParent : SfcInstance
) : ISfcScript

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
An ISfcScript object that contains the script.