GetObjectFactory 方法

获取 [CollectorConfigStore] 对象的对象工厂构造函数。

命名空间:  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
返回 CollectionSet 类的对象工厂。

注释

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