共用方式為


SPUsage class

提供屬性來傳回流量報告中所使用的報表類型的本地化的名稱。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPUsage

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

Syntax

'宣告
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
Public Class SPUsage
'用途
Dim instance As SPUsage
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
public class SPUsage

備註

無法初始化SPUsage和唯讀靜態ReportNames屬性會直接在類別上呼叫。使用ReportNames屬性可傳回包含的報表名稱的字串陣列。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPUsage members

Microsoft.SharePoint.Administration namespace