مشاركة عبر


PolicyCategorySubscription.GetObjectFactory Method

Returns the object factory constructor for the PolicyCategorySubscription object.

Namespace:  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

'Declaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetObjectFactory As SfcObjectFactory
'Usage
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

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
A SfcObjectFactory object that specifies the object factory for the referenced object.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Setting Properties

See Also

Reference

PolicyCategorySubscription Class

Microsoft.SqlServer.Management.Dmf Namespace