Share via


DeployedDac.GetObjectFactory Method

Definition

Gets the factory object used to create new instances.

public:
 static Microsoft::SqlServer::Management::Sdk::Sfc::SfcObjectFactory ^ GetObjectFactory();
public static Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory GetObjectFactory ();
static member GetObjectFactory : unit -> Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
Public Shared Function GetObjectFactory () As SfcObjectFactory

Returns

Returns SfcObjectFactory object that is used to create new instances.

Examples

VC#

obFactory = deployedDac.GetObjectFactory();  

VB

obFactory = deployedDac.GetObjectFactory()  

PowerShell

$obFactory = $deployedDac.GetObjectFactory()   

Applies to