Condividi tramite


Metodo ValidateTargetSelectionPolicy

Verifica che i criteri di selezione dei server per il tipo di applicazione livello dati siano validi.

Spazio dei nomi  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Sintassi

'Dichiarazione
Public Shared Sub ValidateTargetSelectionPolicy ( _
    targetSelectionPolicy As Policy _
)
'Utilizzo
Dim targetSelectionPolicy As Policy

DacType.ValidateTargetSelectionPolicy(targetSelectionPolicy)
public static void ValidateTargetSelectionPolicy(
    Policy targetSelectionPolicy
)
public:
static void ValidateTargetSelectionPolicy(
    Policy^ targetSelectionPolicy
)
static member ValidateTargetSelectionPolicy : 
        targetSelectionPolicy:Policy -> unit 
public static function ValidateTargetSelectionPolicy(
    targetSelectionPolicy : Policy
)

Parametri

Osservazioni

Verifies that the server selection policy has a valid condition and refers to the server selection facet.