Delen via


RegisteredServer.ISfcMovable.ScriptMove Method

Produces the script to move this object under the specified parent object. This class cannot be inherited.

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

Syntax

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

returnValue = CType(instance, ISfcMovable).ScriptMove(newParent)
ISfcScript ISfcMovable.ScriptMove(
    SfcInstance newParent
)
private:
virtual ISfcScript^ ScriptMove(
    SfcInstance^ newParent
) sealed = ISfcMovable::ScriptMove
private abstract ScriptMove : 
        newParent:SfcInstance -> ISfcScript  
private override ScriptMove : 
        newParent:SfcInstance -> 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
An ISfcScript object that contains the script.

Implements

ISfcMovable.ScriptMove(SfcInstance)

See Also

Reference

RegisteredServer Class

Microsoft.SqlServer.Management.RegisteredServers Namespace