Compartilhar via


Método PolicyCategorySubscription.GetObjectFactory

Returns the object factory constructor for the PolicyCategorySubscription object.

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

Sintaxe

'Declaração
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Public Shared Function GetObjectFactory As SfcObjectFactory
'Uso
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

Valor de retorno

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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Definindo propriedades

Consulte também

Referência

PolicyCategorySubscription Classe

Namespace Microsoft.SqlServer.Management.Dmf