Share via


CollectionSet.GetObjectFactory Method

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

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

Remarks

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

See Also

Reference

CollectionSet Class

Microsoft.SqlServer.Management.Collector Namespace