다음을 통해 공유


SPGlobalAdmin.UsageSettings property

NOTE: This API is now obsolete.

Use the UsageSettings property of the SPWebService class to get the collection of usage settings for the Web service instead. (In Windows SharePoint Services 2.0, the UsageSettings property got a usage settings object that encapsulated the settings for logging and usage processing, and is maintained for backward compatibility.)

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

Syntax

'Declaration
<ObsoleteAttribute("Use SPWebService.AdministrationService.UsageSettings instead.",  _
    False)> _
Public ReadOnly Property UsageSettings As SPUsageSettings
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As SPUsageSettings

value = instance.UsageSettings
[ObsoleteAttribute("Use SPWebService.AdministrationService.UsageSettings instead.", 
    false)]
public SPUsageSettings UsageSettings { get; }

Property value

Type: Microsoft.SharePoint.Administration.SPUsageSettings
An SPUsageSettings object that represents the settings.

See also

Reference

SPGlobalAdmin class

SPGlobalAdmin members

Microsoft.SharePoint.Administration namespace