Compartir a través de


Clase DacActionValidator

Validates that the requirements of the DAC action (install, upgrade, or uninstall) are in place.

Jerarquía de herencia

System. . :: . .Object
  Microsoft.SqlServer.Management.Dac..::..DacActionValidator

Espacio de nombres:  Microsoft.SqlServer.Management.Dac
Ensamblado:  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Sintaxis

'Declaración
Public NotInheritable Class DacActionValidator
'Uso
public static class DacActionValidator
public ref class DacActionValidator abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DacActionValidator =  class end
public final class DacActionValidator

El tipo DacActionValidator expone los siguientes miembros.

Métodos

  Nombre Descripción
Método públicoMiembro estático ValidateForInstall(ServerConnection, DacType) Validates that the specified instance of the Database Engine meets requirements for installing the specified DAC type.
Método públicoMiembro estático ValidateForInstall(SqlStoreConnection, DacType) Obsoleto. Validates that the specified instance of the Database Engine meets requirements for installing the specified DAC type.
Método públicoMiembro estático ValidateForInstall(ServerConnection, DacType, Boolean) Validates that the specified instance of the Database Engine meets requirements for installing the specified DAC type.
Método públicoMiembro estático ValidateForInstall(SqlStoreConnection, DacType, Boolean) Obsoleto. Validates that the specified connection credentials meet the requirements for installing the specified DAC type, and, optionally, whether the instance of the Database Engine meets the requirements.
Método públicoMiembro estático ValidateForUninstall Validates that the specified instance of the Database Engine meets requirements for deleting the specified DAC isntance.
Método públicoMiembro estático ValidateForUpgrade(DacInstance, DacInstance) Validates that the specified installed DAC instance and it's host instance of the Database Engine meet the requirements for upgrading the installed DAC instance to a new version of the same DAC type.
Método públicoMiembro estático ValidateForUpgrade(DacInstance, DacInstance, Boolean) Validates that the specified installed DAC instance and it's host instance of the Database Engine meet the requirements for upgrading the installed DAC instance to a new version of the same DAC type.

Arriba

Comentarios

The DacAction class verifies conditions such as having a valid connection to an instance of the Database Engine and that the current login has sufficient permissions. For an upgrade or uninstall, it also verifies that the current DAC instance can support the action.

Seguridad para subprocesos

Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.