Share via


AvailabilityReplica.LastConnectErrorDescription Property

Gets or sets the description 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 LastConnectErrorDescription As String 
    Get
'Usage
Dim instance As AvailabilityReplica 
Dim value As String 

value = instance.LastConnectErrorDescription
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string LastConnectErrorDescription { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ LastConnectErrorDescription {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastConnectErrorDescription : string
function get LastConnectErrorDescription () : String

Property Value

Type: System.String
The description of the error during the last connection.

See Also

Reference

AvailabilityReplica Class

Microsoft.SqlServer.Management.Smo Namespace