We recommend using Visual Studio 2017

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)

ISfcScript ScriptMove(
	SfcInstance newParent


Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcInstance
An SfcInstance object that represents the parent.

Return Value

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