Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Checks the version of the target instance of SQL Server.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Protected Sub CheckServerVersion ( _
version As ServerVersion _
)
'Usage
Dim version As ServerVersion
Me.CheckServerVersion(version)
protected void CheckServerVersion(
ServerVersion version
)
protected:
void CheckServerVersion(
ServerVersion^ version
)
member CheckServerVersion :
version:ServerVersion -> unit
protected function CheckServerVersion(
version : ServerVersion
)
Parameters
- version
Type: Microsoft.SqlServer.Management.Common.ServerVersion
A ServerVersion object that specifies the version of the target server for the connection.
Remarks
This method throws a ConnectionFailureException error if the target server version is SQL Server 7.0 or an earlier version.