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
- targetSelectionPolicy
Type: Microsoft.SqlServer.Management.Dmf.Policy
A Policy object that represents the server selection policy defined for the DAC type.
Remarks
Verifies that the server selection policy has a valid condition and refers to the server selection facet.