Méthode TypeInfo.GetObjectFactory
Gets the SQL Foundation Class object factory.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Public Shared Function GetObjectFactory As SfcObjectFactory
'Utilisation
Dim returnValue As SfcObjectFactory
returnValue = TypeInfo.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
Returns SfcObjectFactory.
Notes
The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.