共用方式為


PolicyCategorySubscription.GetObjectFactory 方法

Returns the object factory constructor for the PolicyCategorySubscription 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 = PolicyCategorySubscription.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
A SfcObjectFactory object that specifies the object factory for the referenced object.

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。

範例

設定屬性

請參閱

參考

PolicyCategorySubscription 類別

Microsoft.SqlServer.Management.Dmf 命名空間