Share via


RegisteredServer.ISfcDroppable.ScriptDrop Method

Produces the script to drop this object from storage. 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 ScriptDrop As ISfcScript
    Implements ISfcDroppable.ScriptDrop
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.

Return Value

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

Implements

ISfcDroppable.ScriptDrop()