InvalidVersionSmoOperationException Constructor (ServerVersion)
Initializes a new instance of the InvalidVersionEnumeratorException class with the specified server version.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Declaration
Public Sub New ( _
version As ServerVersion _
)
public InvalidVersionSmoOperationException (
ServerVersion version
)
public:
InvalidVersionSmoOperationException (
ServerVersion^ version
)
public InvalidVersionSmoOperationException (
ServerVersion version
)
public function InvalidVersionSmoOperationException (
version : ServerVersion
)
Parameters
- version
A ServerVersion object value that specifies the version of the instance of Microsoft SQL Server.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Example
How to: Catch an Exception in Visual Basic .NET
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.
See Also
Reference
InvalidVersionSmoOperationException Class
InvalidVersionSmoOperationException Members
Microsoft.SqlServer.Management.Smo Namespace