Partager via


Méthode GetObjectFactory

Instancie une instance du constructeur utilisé pour les éléments de collecte.

Espace de noms :  Microsoft.SqlServer.Management.Collector
Assembly :  Microsoft.SqlServer.Management.Collector (en 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 : Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectFactory
Instance du constructeur (SfcObjectFactory) utilisé pour les éléments de collecte.

Notes

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