Share via


Session.ScriptDrop Method

Gets the drop ISfcScript for the session.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Function ScriptDrop As ISfcScript
'Usage
Dim instance As Session 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptDrop()
public ISfcScript ScriptDrop()
public:
virtual ISfcScript^ ScriptDrop() sealed
abstract ScriptDrop : unit -> ISfcScript  
override ScriptDrop : unit -> ISfcScript
public final function ScriptDrop() : ISfcScript

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The drop ISfcScript for the session.

Implements

ISfcDroppable.ScriptDrop()

Remarks

The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.

See Also

Reference

Session Class

Microsoft.SqlServer.Management.XEvent Namespace