SmoException.ProdVer Property

 

Applies To: SQL Server 2016 Preview

Gets the product version of the instance of SQL Server that generated the SMO exception.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

protected static string ProdVer { get; }
protected:
property String^ ProdVer {
    static String^ get();
}
static member ProdVer : string with get
Protected Shared ReadOnly Property ProdVer As String

Property Value

Type: System.String

A String value that specifies the product version.

Examples

Legacy Code Example

Handling SMO Exceptions

See Also

SmoException Class
Microsoft.SqlServer.Management.Smo Namespace

Return to top