Share via


Session.ScriptAlter Method

Gets the alteration ISfcScript for the session.

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

Syntax

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

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

Return Value

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

Implements

ISfcAlterable.ScriptAlter()

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