Partilhar via


Propriedade do RDL TargetSelectionPolicy

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

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

Sintaxe

'Declaração
Public Property TargetSelectionPolicy As Policy
    Get
    Set
'Uso
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)

Valor da propriedade

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

Comentários

The policy must be based on the IServerSelectionFacet class.