ServerGroup.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.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 ServerGroup 
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)

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

See Also

Reference

ServerGroup Class

Microsoft.SqlServer.Management.RegisteredServers Namespace