Share via


SPGlobalAdmin.StartDBService method

NOTE: This API is now obsolete.

Use the Provision method of the SPWindowsServiceInstance class to provision the database service instead. (In Windows SharePoint Services 2.0 the StartDBService method started the specified database server as a service in the SharePoint Foundation deployment, and is maintained for backward compatibility.)

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", False)> _
Public Sub StartDBService ( _
    strDatabaseServer As String _
)
'Usage
Dim instance As SPGlobalAdmin
Dim strDatabaseServer As String

instance.StartDBService(strDatabaseServer)
[ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", false)]
public void StartDBService(
    string strDatabaseServer
)

Parameters

  • strDatabaseServer
    Type: System.String

    A string that contains the name of the database server.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace