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 = PolicyCategory.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 category object.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。