共用方式為


RegisteredServer.ISfcDroppable.ScriptDrop 方法

Produces the script to drop this object from storage. This class cannot be inherited.

命名空間:  Microsoft.SqlServer.Management.RegisteredServers
組件:  Microsoft.SqlServer.Management.RegisteredServers (在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)

語法

'宣告
Private Function ScriptDrop As ISfcScript 
    Implements ISfcDroppable.ScriptDrop
'用途
Dim instance As RegisteredServer 
Dim returnValue As ISfcScript 

returnValue = CType(instance, ISfcDroppable).ScriptDrop()
ISfcScript ISfcDroppable.ScriptDrop()
private:
virtual ISfcScript^ ScriptDrop() sealed = ISfcDroppable::ScriptDrop
private abstract ScriptDrop : unit -> ISfcScript  
private override ScriptDrop : unit -> ISfcScript
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

傳回值

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

實作

ISfcDroppable.ScriptDrop()

請參閱

參考

RegisteredServer 類別

Microsoft.SqlServer.Management.RegisteredServers 命名空間