ArcFM Solution Developer Guide
IsValidLogin Property (IMMLoginObject)






Use this property to return whether a previous call to the Login() method has been successful. In other words, if IsValidLogin is True, then the user is currently connected to a valid database. As long as a successful login has been made in the past, then this value will evaluate to True.
Syntax
'Declaration
 
<System.Runtime.InteropServices.DispIdAttribute(1610678273)>
ReadOnly Property IsValidLogin As System.Boolean
'Usage
 
Dim instance As IMMLoginObject
Dim value As System.Boolean
 
value = instance.IsValidLogin
[System.Runtime.InteropServices.DispId(1610678273)]
System.bool IsValidLogin {get;}
read-only property IsValidLogin: System.Boolean; 
System.Runtime.InteropServices.DispIdAttribute(1610678273)
function get IsValidLogin : System.boolean
[System.Runtime.InteropServices.DispId(1610678273)]
__property System.bool get_IsValidLogin();
[System.Runtime.InteropServices.DispId(1610678273)]
property System.bool IsValidLogin {
   System.bool get();
}

Property Value

Returns a boolean value indicating whether the user is connected to a valid database.

Example
The following code sample demonstrates how the IMMLoginObject::IsValidLogin property may be implemented.
Visual Basic Copy Code
Private Property Get IMMLoginObject_IsValidLogin() As Boolean
   IMMLoginObject_IsValidLogin = m_pDefaultLogin.IsValidLogin
End Property
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IMMLoginObject Interface
IMMLoginObject Members

Send Feedback