IDatabaseConfiguration.ConnectToDatabase Method ()
Applies To: Windows Server Update Services
Tests connectivity to the database.
Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll)
Syntax
void ConnectToDatabase()
void ConnectToDatabase()
abstract ConnectToDatabase : unit -> unit
Sub ConnectToDatabase
Exceptions
Exception
Condition
Failed to connect to SQL Database. This exception may be interrogated for information about cause of failure.
Remarks
If connectivity is achieved, this function will return; otherwise it will throw a SqlException.
See Also
IDatabaseConfiguration Interface
Microsoft.UpdateServices.Administration Namespace
Return to top