MSDeployPackage.GetDBConnectionErrorString(DatabaseProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.