Metodo DeployedDac.GetObjectFactory

Gets the factory object used to create new instances.

Spazio dei nomi  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

Sintassi

'Dichiarazione
Public Shared Function GetObjectFactory As SfcObjectFactory
'Utilizzo
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

Valore restituito

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

Esempi

VC#

obFactory = deployedDac.GetObjectFactory();

VB

obFactory = deployedDac.GetObjectFactory()

PowerShell

$obFactory = $deployedDac.GetObjectFactory() 

Vedere anche

Riferimento

DeployedDac Classe

Spazio dei nomi Microsoft.SqlServer.Management.Utility