GetObjectFactory 方法
实例化用于收集项的构造函数的实例。
命名空间: Microsoft.SqlServer.Management.Collector
程序集: Microsoft.SqlServer.Management.Collector(在 Microsoft.SqlServer.Management.Collector.dll 中)
语法
声明
Public Shared Function GetObjectFactory As SfcObjectFactory
用法
Dim returnValue As SfcObjectFactory
returnValue = CollectionItem.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
用于收集项的构造函数 (SfcObjectFactory) 的实例。
注释
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.