Validate 메서드 (SqlStoreConnection)
참고: 이 API는 더 이상 사용되지 않습니다. 사용되는 대체 항목은 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)
구문
‘선언
<ObsoleteAttribute> _
Public Shared Function Validate ( _
connection As SqlStoreConnection _
) As DeploymentValidationException
‘사용 방법
Dim connection As SqlStoreConnection
Dim returnValue As DeploymentValidationException
returnValue = ServerDeploymentValidator.Validate(connection)
[ObsoleteAttribute]
public static DeploymentValidationException Validate(
SqlStoreConnection connection
)
[ObsoleteAttribute]
public:
static DeploymentValidationException^ Validate(
SqlStoreConnection^ connection
)
[<ObsoleteAttribute>]
static member Validate :
connection:SqlStoreConnection -> DeploymentValidationException
public static function Validate(
connection : SqlStoreConnection
) : DeploymentValidationException
매개 변수
- connection
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A SqlStoreConnection object that contains connection information about 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).