Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets or sets the number of the error during the last connection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastConnectErrorNumber As Integer
Get
'Usage
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
Property Value
Type: System.Int32
The number of the error during the last connection.