다음을 통해 공유


Condition.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()

참고 항목

참조

Condition 클래스

Microsoft.SqlServer.Management.Dmf 네임스페이스