Validate 메서드 (ServerConnection)
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 nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing).