Compartilhar via


Método Session.ScriptCreate

Gets the creation ISfcScript for the session.

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

Sintaxe

'Declaração
Public Function ScriptCreate As ISfcScript
'Uso
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

Valor de retorno

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

Implementa

ISfcCreatable.ScriptCreate()

Comentários

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.

Consulte também

Referência

Session Classe

Namespace Microsoft.SqlServer.Management.XEvent