Partager via


Méthode ValidateTargetSelectionPolicy

Vérifie que la stratégie de sélection du serveur pour le type DAC est valide.

Espace de noms :  Microsoft.SqlServer.Management.Dac
Assembly :  Microsoft.SqlServer.Management.Dac (en Microsoft.SqlServer.Management.Dac.dll)

Syntaxe

'Déclaration
Public Shared Sub ValidateTargetSelectionPolicy ( _
    targetSelectionPolicy As Policy _
)
'Utilisation
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
)

Paramètres

Notes

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