Partager via


GetObjectFactory méthode

Instantiates an instance of the constructor used for collection items.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (dans Microsoft.SqlServer.Management.Collector.dll)

Syntaxe

'Déclaration
Public Shared Function GetObjectFactory As SfcObjectFactory
'Utilisation
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

Valeur de retour

Type : SfcObjectFactory

Notes

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