DeployedDac.GetObjectFactory Method ()

 

Gets the factory object used to create new instances.

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

public static SfcObjectFactory GetObjectFactory()

Return Value

Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory

Returns SfcObjectFactory object that is used to create new instances.

VC#

obFactory = deployedDac.GetObjectFactory();

VB

obFactory = deployedDac.GetObjectFactory()

PowerShell

$obFactory = $deployedDac.GetObjectFactory() 
Return to top
Show: