ISfcMovable.ScriptMove 方法
Produces the script to move this object under the specified parent object.不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.RegisteredServers
組件: Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
語法
'宣告
Private Function ScriptMove ( _
newParent As SfcInstance _
) As ISfcScript Implements ISfcMovable.ScriptMove
'用途
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 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- newParent
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcInstance
An SfcInstance object that represents the parent object.
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the script.
實作
備註
只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。