Share via


MSDeployPackage.GetDBConnectionErrorString(DatabaseProvider) Method

Definition

Gets the exception thrown by a failed database connection.

public:
 System::String ^ GetDBConnectionErrorString(Microsoft::Web::PlatformInstaller::DatabaseProvider provider);
public string GetDBConnectionErrorString (Microsoft.Web.PlatformInstaller.DatabaseProvider provider);
member this.GetDBConnectionErrorString : Microsoft.Web.PlatformInstaller.DatabaseProvider -> string
Public Function GetDBConnectionErrorString (provider As DatabaseProvider) As String

Parameters

provider
DatabaseProvider

A DatabaseProvider instance.

Returns

A string value that contains the database connection error.

Applies to