共用方式為


EventColumnInfo.GetObjectFactory 方法

Gets the SQL Foundation Class object factory for the EventColumnInfo object.

命名空間:  Microsoft.SqlServer.Management.XEvent
組件:  Microsoft.SqlServer.Management.XEvent (在 Microsoft.SqlServer.Management.XEvent.dll 中)

語法

'宣告
Public Shared Function GetObjectFactory As SfcObjectFactory
'用途
Dim returnValue As SfcObjectFactory 

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

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
The SfcObjectFactory.

備註

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.

請參閱

參考

EventColumnInfo 類別

Microsoft.SqlServer.Management.XEvent 命名空間