Метод GetObjectFactory
Gets the factory object used to create new instances.
Пространство имен: Microsoft.SqlServer.Management.Utility
Сборка: Microsoft.SqlServer.Management.Utility (в Microsoft.SqlServer.Management.Utility.dll)
Синтаксис
'Декларация
Public Shared Function GetObjectFactory As SfcObjectFactory
'Применение
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
Возвращаемое значение
Тип: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SfcObjectFactory
Returns a SfcObjectFactory object that is used to create new instances.
Примеры
VC#
obFactory = deployedDac.GetObjectFactory();
VB
obFactory = deployedDac.GetObjectFactory()
PowerShell
$obFactory = $deployedDac.GetObjectFactory()