'Declaration Protected Overridable Function FilterConnectionErrorMessage( _ ByVal originalErrorMessage As String, _ ByVal suggestedErrorMessage As String, _ ByVal notUsed As IDictionary _ ) As String
protected virtual string FilterConnectionErrorMessage( string originalErrorMessage, string suggestedErrorMessage, IDictionary notUsed )
Inheritors of concrete WebScheduleDBProvider subclasses may support databases other than Microsoft Access and SQL Server, therefore the suggestedErrorMessage may not fit your subclass because it makes implementation specific references in the guidance it offers when a connection fails.
Another reason to override this method is to remove sensitive information that may be contained in a connection failure error message, such as user identity information and server file path information.
This method can also be used for diagnostic event logging, based on the content of the originalErrorMessage argument.
Target Platforms: Windows 10, Windows 8.1, Windows 8, 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