Compartir a través de


AvailabilityReplica.LastConnectErrorNumber Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastConnectErrorNumber As Integer 
    Get
'Uso
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

Valor de la propiedad

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

Vea también

Referencia

AvailabilityReplica Clase

Espacio de nombres Microsoft.SqlServer.Management.Smo