Condividi tramite


SPGlobalConfig Class

NOTE: This API is now obsolete.

Use the new SPWebApplication and SPWebService classes instead, to define configuration settings.

Inheritance Hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPGlobalConfig

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
Public Class SPGlobalConfig
'Usage
Dim instance As SPGlobalConfig
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel = true)]
public class SPGlobalConfig

Remarks

In Windows SharePoint Services 2.0, SPGlobalConfig represented configuration settings that apply throughout the deployment and is maintained for backward compatibility.

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.

See Also

Reference

SPGlobalConfig Members

Microsoft.SharePoint.Administration Namespace