Metodo Event.GetObjectFactory

Gets the object factory constructor used to create an Action object.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Shared Function GetObjectFactory As SfcObjectFactory
'Utilizzo
Dim returnValue As SfcObjectFactory 

returnValue = Event.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory

Valore restituito

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
Returns the object factory used to create an Action object.

Osservazioni

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.

Vedere anche

Riferimento

Event Classe

Spazio dei nomi Microsoft.SqlServer.Management.XEvent