TargetSelectionPolicy 屬性
取得伺服器選取原則,此原則定義 Database Engine 執行個體為了主控 DAC 類型所應該符合的需求。
命名空間: Microsoft.SqlServer.Management.Dac
組件: Microsoft.SqlServer.Management.Dac (在 Microsoft.SqlServer.Management.Dac.dll 中)
語法
'宣告
Public ReadOnly Property TargetSelectionPolicy As Policy
Get
'用途
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
屬性值
型別:Microsoft.SqlServer.Management.Dmf. . :: . .Policy
Policy 物件,代表為 DAC 類型所定義的伺服器選取原則。
備註
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.