DeployedDac.GetObjectFactory Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()