Поделиться через


Метод 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.