Share via


DacType.TargetSelectionPolicy Property

Gets the server selection policy that defines the requirements an instance of the Database Engine should meet in order to host the DAC type.

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

Syntax

'Declaration
Public ReadOnly Property TargetSelectionPolicy As Policy
    Get
'Usage
Dim instance As DacType
Dim value As Policy

value = instance.TargetSelectionPolicy
public Policy TargetSelectionPolicy { get; }
public:
property Policy^ TargetSelectionPolicy {
    Policy^ get ();
}
member TargetSelectionPolicy : Policy
function get TargetSelectionPolicy () : Policy

Property Value

Type: Microsoft.SqlServer.Management.Dmf.Policy
A Policy object that represents the server selection policy defined for the DAC type.

Remarks

A server selection policy is specified in a DAC project in Visual Studio. It specifies characteristics for the destination instance of the Database Engine, such as Edition, collation, or case sensitivity.