Método DeployedDac.GetObjectFactory

Gets the factory object used to create new instances.

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

Sintaxe

'Declaração
Public Shared Function GetObjectFactory As SfcObjectFactory
'Uso
Dim returnValue As SfcObjectFactory 

returnValue = DeployedDac.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
Returns SfcObjectFactory object that is used to create new instances.

Exemplos

VC#

obFactory = deployedDac.GetObjectFactory();

VB

obFactory = deployedDac.GetObjectFactory()

PowerShell

$obFactory = $deployedDac.GetObjectFactory() 

Consulte também

Referência

DeployedDac Classe

Namespace Microsoft.SqlServer.Management.Utility