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
パラメーター
- connection
型: Microsoft.SqlServer.Management.Common.ServerConnection
A ServerConnection object that contains connection information about the instance of the Database Engine to be validated.
戻り値
型: 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).