次の方法で共有


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)

Syntax

'Declaration
<ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.",  _
    False)> _
<SharePointPermissionAttribute(SecurityAction.LinkDemand, ObjectModel := True)> _
<SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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.LinkDemand, ObjectModel = true)]
[SharePointPermissionAttribute(SecurityAction.InheritanceDemand, 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