Método TargetInfo.GetObjectFactory
Gets the SQL Foundation Class object factory.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Shared Function GetObjectFactory As SfcObjectFactory
'Uso
Dim returnValue As SfcObjectFactory
returnValue = TargetInfo.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
Returns SfcObjectFactory.
Comentários
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.