다음을 통해 공유


ValidateForInstall 메서드 (SqlStoreConnection, DacType)

참고: 이 API는 더 이상 사용되지 않습니다.

Validates that the specified instance of the Database Engine meets requirements for installing the specified DAC type.

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

구문

‘선언
<ObsoleteAttribute> _
Public Shared Function ValidateForInstall ( _
    connection As SqlStoreConnection, _
    dacType As DacType _
) As DeploymentValidationException
‘사용 방법
Dim connection As SqlStoreConnection
Dim dacType As DacType
Dim returnValue As DeploymentValidationException

returnValue = DacActionValidator.ValidateForInstall(connection, _
    dacType)
[ObsoleteAttribute]
public static DeploymentValidationException ValidateForInstall(
    SqlStoreConnection connection,
    DacType dacType
)
[ObsoleteAttribute]
public:
static DeploymentValidationException^ ValidateForInstall(
    SqlStoreConnection^ connection, 
    DacType^ dacType
)
[<ObsoleteAttribute>]
static member ValidateForInstall : 
        connection:SqlStoreConnection * 
        dacType:DacType -> DeploymentValidationException 
public static function ValidateForInstall(
    connection : SqlStoreConnection, 
    dacType : DacType
) : DeploymentValidationException

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Dac. . :: . .DeploymentValidationException
Returns null if the validation was successful. Otherwise, returns a DeploymentValidationException object reporting the issues encountered.

주의

The ValidateForInstall method verifies conditions such as having a valid connection to an instance of the Database Engine and that the current login has sufficient permissions.