共用方式為


SPGlobalAdmin.Config Property

NOTE: This API is now obsolete.

Obsolete. In Windows SharePoint Services 2.0, the Config property got a global configuration object that contained configuration settings in the SharePoint Foundation deployment, and is maintained for backward compatibility.

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)> _
Public ReadOnly Property Config As SPGlobalConfig
    Get
'Usage
Dim instance As SPGlobalAdmin
Dim value As SPGlobalConfig

value = instance.Config
[ObsoleteAttribute("Most of the functionality in this class is available in SPFarm or SPWebService.", 
    false)]
public SPGlobalConfig Config { get; }

Property Value

Type: Microsoft.SharePoint.Administration.SPGlobalConfig
An SPGlobalConfig object that contains global configuration settings.

See Also

Reference

SPGlobalAdmin Class

SPGlobalAdmin Members

Microsoft.SharePoint.Administration Namespace