Share via


AvailabilityReplica.LastConnectErrorNumber 속성

Gets or sets the number of the error during the last connection.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastConnectErrorNumber As Integer 
    Get
‘사용 방법
Dim instance As AvailabilityReplica 
Dim value As Integer 

value = instance.LastConnectErrorNumber
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int LastConnectErrorNumber { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int LastConnectErrorNumber {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastConnectErrorNumber : int
function get LastConnectErrorNumber () : int

속성 값

유형: System.Int32
The number of the error during the last connection.

참고 항목

참조

AvailabilityReplica 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스