ISfcMovable.ScriptMove-Methode
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.
Parameter
- newParent
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
An SfcInstance object that represents the parent object.
Rückgabewert
Typ: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the script.