Partager 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

'Déclaration
Public ReadOnly Property TargetSelectionPolicy As Policy
    Get
'Utilisation
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.

See Also

Reference

DacType Class

Microsoft.SqlServer.Management.Dac Namespace