共用方式為


SPWebService.UsageSettings property

NOTE: This API is now obsolete.

取得此 Web 服務的使用方式設定的集合。

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

Syntax

'宣告
<ObsoleteAttribute("Deprecated method. Do not use except for upgrade scenarios.",  _
    False)> _
Public ReadOnly Property UsageSettings As SPUsageSettings
    Get
'用途
Dim instance As SPWebService
Dim value As SPUsageSettings

value = instance.UsageSettings
[ObsoleteAttribute("Deprecated method. Do not use except for upgrade scenarios.", 
    false)]
public SPUsageSettings UsageSettings { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPUsageSettings
會傳回SPUsageSettings

請參閱

參照

SPWebService class

SPWebService members

Microsoft.SharePoint.Administration namespace