共用方式為


SPUsageDatabase constructor (String, SPDatabaseServiceInstance)

初始化指定的name和serviceInstance參數的值為基礎的**[Microsoft.SharePoint.Administration.SPUsageDatabase]**類別的新執行個體。

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

Syntax

'宣告
Public Sub New ( _
    name As String, _
    serviceInstance As SPDatabaseServiceInstance _
)
'用途
Dim name As String
Dim serviceInstance As SPDatabaseServiceInstance

Dim instance As New SPUsageDatabase(name, serviceInstance)
public SPUsageDatabase(
    string name,
    SPDatabaseServiceInstance serviceInstance
)

參數

備註

此建構函式,則需要從設定資料庫的還原序列化的。

請參閱

參照

SPUsageDatabase class

SPUsageDatabase members

SPUsageDatabase overload

Microsoft.SharePoint.Administration namespace