Partager via


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

<ObsoleteAttribute("Use SPWebService.AdministrationService.UsageSettings instead.",  _
    False)> _
Public ReadOnly Property UsageSettings As SPUsageSettings
    Get

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