Condividi tramite


Metodo ISfcMovable.ScriptMove

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

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Private Function ScriptMove ( _
    newParent As SfcInstance _
) As ISfcScript Implements ISfcMovable.ScriptMove
'Utilizzo
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.

Parametri

Valore restituito

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

Implementa

ISfcMovable. . :: . .ScriptMove(SfcInstance)