Share via


ServerDeploymentValidator.Validate メソッド

Validates that the specified instance of the Database Engine is able to be used as a DAC store.

名前空間:  Microsoft.SqlServer.Management.Dac
アセンブリ:  Microsoft.SqlServer.Management.Dac (Microsoft.SqlServer.Management.Dac.dll)

構文

'宣言

Public Shared Function Validate ( _
    connection As ServerConnection _
) As DeploymentValidationException
'使用

Dim connection As ServerConnection
Dim returnValue As DeploymentValidationException

returnValue = ServerDeploymentValidator.Validate(connection)
public static DeploymentValidationException Validate(
    ServerConnection connection
)
public:
static DeploymentValidationException^ Validate(
    ServerConnection^ connection
)
static member Validate : 
        connection:ServerConnection -> DeploymentValidationException 
public static function Validate(
    connection : ServerConnection
) : DeploymentValidationException

パラメーター

戻り値

型: Microsoft.SqlServer.Management.Dac.DeploymentValidationException
A DeploymentValidationException exception describing the detected validation problems. If validation was successful, this method will return nullNULL 参照 (Visual Basic では Nothing).

関連項目

参照

ServerDeploymentValidator クラス

Microsoft.SqlServer.Management.Dac 名前空間