If parsing fails then the FormatException message will contain useful information as to the cause.

Namespace: DatabaseObjects
Assembly: DatabaseObjects (in DatabaseObjects.dll) Version: 3.8.1.0

Syntax

C#
public static MicrosoftSQLServerDatabase Parse(
	string strConnectionString
)
Visual Basic
Public Shared Function Parse ( _
	strConnectionString As String _
) As MicrosoftSQLServerDatabase
Visual C++
public:
static MicrosoftSQLServerDatabase^ Parse(
	String^ strConnectionString
)

Parameters

strConnectionString
Type: System..::..String

[Missing <param name="strConnectionString"/> documentation for "M:DatabaseObjects.MicrosoftSQLServerDatabase.Parse(System.String)"]

Return Value

[Missing <returns> documentation for "M:DatabaseObjects.MicrosoftSQLServerDatabase.Parse(System.String)"]

Exceptions

ExceptionCondition
System..::..FormatExceptionIf the connection string is in an invalid format.

See Also