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.