Knight Data Access Layer
ConnectionValid Method (IDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > IDatabaseProvider Interface : ConnectionValid Method
Opens and closes the connection to ensure it is valid.
Syntax
Function ConnectionValid() As String
Dim instance As IDatabaseProvider
Dim value As String
 
value = instance.ConnectionValid()
string ConnectionValid()
string* ConnectionValid(); 
String^ ConnectionValid(); 

Return Value

Returns string.empty on success, the error message on failure
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

IDatabaseProvider Interface
IDatabaseProvider Members