Share via


DacType.ValidateTargetSelectionPolicy Method

Verifies that the server selection policy for the DAC type is valid.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public Shared Sub ValidateTargetSelectionPolicy ( _
    targetSelectionPolicy As Policy _
)
'Usage
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
)

Parameters

Remarks

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