다음을 통해 공유


ValidateTargetSelectionPolicy 메서드

DAC 유형에 대한 서버 선택 정책이 유효한지 확인합니다.

네임스페이스:  Microsoft.SqlServer.Management.Dac
어셈블리:  Microsoft.SqlServer.Management.Dac(Microsoft.SqlServer.Management.Dac.dll)

구문

‘선언
Public Shared Sub ValidateTargetSelectionPolicy ( _
    targetSelectionPolicy As Policy _
)
‘사용 방법
Dim targetSelectionPolicy As Policy

DacType.ValidateTargetSelectionPolicy(targetSelectionPolicy)
public static void ValidateTargetSelectionPolicy(
    Policy targetSelectionPolicy
)
public:
static void ValidateTargetSelectionPolicy(
    Policy^ targetSelectionPolicy
)
static member ValidateTargetSelectionPolicy : 
        targetSelectionPolicy:Policy -> unit 
public static function ValidateTargetSelectionPolicy(
    targetSelectionPolicy : Policy
)

매개 변수

주의

Verifies that the server selection policy has a valid condition and refers to the server selection facet.