LoginResult.ErrorCode Field
Represents the reason why a logon attempt failed on a SharePoint site that is using forms-based authentication.
Namespace: [Authentication Web service]
Web service reference: http://Site/_vti_bin/Authentication.asmx
Syntax
'Declaration
Public ErrorCode As LoginErrorCode
'Usage
Dim instance As LoginResult
Dim value As LoginErrorCode
value = instance.ErrorCode
instance.ErrorCode = value
public LoginErrorCode ErrorCode
Field Value
Type: [Authentication Web service].LoginErrorCode
A LoginErrorCode. This field can be a null reference (Nothing in Visual Basic).
Remarks
Either this field or the CookieName field will be a null reference (Nothing in Visual Basic).