Knight Data Access Layer
ConnectionValid Method (BaseDatabaseProvider)




KellermanSoftware.NetDataAccessLayer Namespace > BaseDatabaseProvider Class : ConnectionValid Method
Opens and closes the connection to ensure it is valid.
Syntax
Public Overridable Function ConnectionValid() As String
Dim instance As BaseDatabaseProvider
Dim value As String
 
value = instance.ConnectionValid()
public virtual string ConnectionValid()
public: virtual string* ConnectionValid(); 
public:
virtual 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

BaseDatabaseProvider Class
BaseDatabaseProvider Members