Свойство ErrorCode
Gets the error code that is generated by the system when the service request exception is raised.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public ReadOnly Property ErrorCode As Integer
Get
'Применение
Dim instance As ServiceRequestException
Dim value As Integer
value = instance.ErrorCode
public int ErrorCode { get; }
public:
property int ErrorCode {
int get ();
}
member ErrorCode : int
function get ErrorCode () : int
Значение свойства
Тип: System. . :: . .Int32
An Int32 value that specifies the error code.
См. также