Partager via


Propriété TargetSelectionPolicy

Gets or sets the server selection policy to compile into the DAC type.

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

Syntaxe

'Déclaration
Public Property TargetSelectionPolicy As Policy
    Get
    Set
'Utilisation
Dim instance As DacCompilationUnit
Dim value As Policy

value = instance.TargetSelectionPolicy

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

Valeur de propriété

Type : Microsoft.SqlServer.Management.Dmf. . :: . .Policy
A Policy object representing the server selection policy compiled into the DAC type.

Notes

The policy must be based on the IServerSelectionFacet class.