Condition.GetObjectFactory Método
Gets the object factory for the object.
Espacio de nombres: Microsoft.SqlServer.Management.Dmf
Ensamblado: Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)
Sintaxis
'Declaración
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetObjectFactory As SfcObjectFactory
'Uso
Dim returnValue As SfcObjectFactory
returnValue = Condition.GetObjectFactory()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public static SfcObjectFactory GetObjectFactory()
[STraceConfigurationAttribute(SkipAutoTrace = true)]
public:
static SfcObjectFactory^ GetObjectFactory()
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
An SfcObjectFactory that contains object factory for the condition object.
Ejemplos
C#
SfcObjectFactory objectFactory = new SfcObjectFactory;
objectFactory = c.GetObjectFactory();
VB
Dim objectFactory As SfcObjectFactory
objectFactory = New SfcObjectFactory
objectFactory = c.GetObjectFactory()