共用方式為


SqlServerManagementException.ProductName 屬性

Gets the name of the product that caused the exception.

命名空間:  Microsoft.SqlServer.Management.Common
組件:  Microsoft.SqlServer.ConnectionInfo (在 Microsoft.SqlServer.ConnectionInfo.dll 中)

語法

'宣告
Public Shared ReadOnly Property ProductName As String 
    Get
'用途
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

屬性值

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

請參閱

參考

SqlServerManagementException 類別

Microsoft.SqlServer.Management.Common 命名空間