Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the resource quota information for the specified sandboxed solution within the specified site collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Shared Function GetSolutionResourceQuota ( _
siteId As Guid, _
solutionId As Guid _
) As SPSiteSolutionResourceUsageQuotaRecord
'Usage
Dim siteId As Guid
Dim solutionId As Guid
Dim returnValue As SPSiteSolutionResourceUsageQuotaRecord
returnValue = SPSolutionResourceUsageLog.GetSolutionResourceQuota(siteId, _
solutionId)
public static SPSiteSolutionResourceUsageQuotaRecord GetSolutionResourceQuota(
Guid siteId,
Guid solutionId
)
Parameters
siteId
Type: System.GuidThe ID of the site collection within which the resource quota information is to be retrieved.
solutionId
Type: System.GuidThe ID of the sandboxed solution for which the resource quota information is to be retrieved.
Return value
Type: Microsoft.SharePoint.SPSiteSolutionResourceUsageQuotaRecord
The resource quota information for the specified sandboxed solution within the specified site collection.
Remarks
This override calls a stored procedure to execute the request. Your code should be prepared to handle an exception if an error occurs.
See also
Reference
SPSolutionResourceUsageLog class