GetObjectFactory 方法
Gets the object factory for the object.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetObjectFactory As SfcObjectFactory
'用途
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
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectFactory
An SfcObjectFactory that contains object factory for the condition object.
範例
C#
SfcObjectFactory objectFactory = new SfcObjectFactory;
objectFactory = c.GetObjectFactory();
VB
Dim objectFactory As SfcObjectFactory
objectFactory = New SfcObjectFactory
objectFactory = c.GetObjectFactory()