Partager via


Méthode PolicyCategory.GetObjectFactory

Gets the object factory for the object.

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetObjectFactory As SfcObjectFactory
'Utilisation
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

Valeur de retour

Type : Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
An SfcObjectFactory that contains the object factory for the policy category object.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

PolicyCategory Classe

Espace de noms Microsoft.SqlServer.Management.Dmf