다음을 통해 공유


Policy.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 = Policy.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 the object factory for the policy object.

참고 항목

참조

Policy 클래스

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