SPGlobalAdmin.StartDBService method
NOTE: This API is now obsolete.
使用SPWindowsServiceInstance類別之Provision方法而佈建的資料庫服務。(在Windows SharePoint Services 2.0StartDBService方法以SharePoint Foundation部署中,在服務啟動指定的資料庫伺服器和維護回溯相容性。)
Namespace: Microsoft.SharePoint.Administration
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
<ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", False)> _
Public Sub StartDBService ( _
strDatabaseServer As String _
)
'用途
Dim instance As SPGlobalAdmin
Dim strDatabaseServer As String
instance.StartDBService(strDatabaseServer)
[ObsoleteAttribute("Call SPWindowsServiceInstance.Provision().", false)]
public void StartDBService(
string strDatabaseServer
)
參數
strDatabaseServer
Type: System.String包含的資料庫伺服器名稱的字串。