共用方式為


SPSolutionResourceUsageLog.GetSiteSolutionResourceUsage method

取得在指定的時間間隔期間指定的網站集合內每日方案資源使用狀況資料集合。

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

Syntax

'宣告
Public Shared Function GetSiteSolutionResourceUsage ( _
    siteId As Guid, _
    daysAgo As Nullable(Of Integer) _
) As ICollection(Of SPSiteSolutionDailyResourceUsageRecord)
'用途
Dim siteId As Guid
Dim daysAgo As Nullable(Of Integer)
Dim returnValue As ICollection(Of SPSiteSolutionDailyResourceUsageRecord)

returnValue = SPSolutionResourceUsageLog.GetSiteSolutionResourceUsage(siteId, _
    daysAgo)
public static ICollection<SPSiteSolutionDailyResourceUsageRecord> GetSiteSolutionResourceUsage(
    Guid siteId,
    Nullable<int> daysAgo
)

參數

  • siteId
    Type: System.Guid

    每日的方案資源使用狀況資料是要擷取的網站集合之識別碼。

傳回值

Type: System.Collections.Generic.ICollection<SPSiteSolutionDailyResourceUsageRecord>
每日方案資源使用狀況資料在指定的時間間隔期間指定的網站集合內。

備註

daysAgo將參數設定為 null 以取得所有可用的資料。

請參閱

參照

SPSolutionResourceUsageLog class

SPSolutionResourceUsageLog members

Microsoft.SharePoint namespace