SqlServerManagementException.ProductName Property

Gets the name of the product that caused the exception.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Shared ReadOnly Property ProductName As String
    Get
'Usage
Dim value As String

value = SqlServerManagementException.ProductName
public static string ProductName { get; }
public:
static property String^ ProductName {
    String^ get ();
}
static member ProductName : string
static function get ProductName () : String

Property Value

Type: System.String
A String value that specifies the name of the product that caused the exception.