Share via


Session.ScriptCreate Method

Gets the creation ISfcScript for the session.

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

Syntax

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

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

Return Value

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

Implements

ISfcCreatable.ScriptCreate()

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