Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Gets the factory object used to create new instances.
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
Public Shared Function GetObjectFactory As SfcObjectFactory
'Uso
Dim returnValue As SfcObjectFactory
returnValue = Computer.GetObjectFactory()
public static SfcObjectFactory GetObjectFactory()
public:
static SfcObjectFactory^ GetObjectFactory()
static member GetObjectFactory : unit -> SfcObjectFactory
public static function GetObjectFactory() : SfcObjectFactory
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectFactory
A SfcObjectFactory object that is used to create new instances.
Ejemplos
VC#
obFactory = computer.GetObjectFactory();
VB
obFactory = computer.GetObjectFactory()
PowerShell
$obFactory = $computer.GetObjectFactory()