CollectionItem.GetObjectFactory Method

Instantiates an instance of the constructor used for collection items.

Namespace:  Microsoft.SqlServer.Management.Collector
Assembly:  Microsoft.SqlServer.Management.Collector (in Microsoft.SqlServer.Management.Collector.dll)

Syntax

'Declaration
Public Shared Function GetObjectFactory As SfcObjectFactory
'Usage
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

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
An instance of the constructor (SfcObjectFactory) used for collection items.

Remarks

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