共用方式為


CollectionSet.GetObjectFactory 方法

Gets the object factory constructor for the [CollectorConfigStore] object.

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

語法

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

returnValue = CollectionSet.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
Returns an object factory for the CollectionSet class.

備註

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

請參閱

參考

CollectionSet 類別

Microsoft.SqlServer.Management.Collector 命名空間