共用方式為


SPGlobalConfig class

NOTE: This API is now obsolete.

使用新SPWebApplicationSPWebService類別相反地,若要定義組態設定。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.Administration.SPGlobalConfig

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

Syntax

'宣告
<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
'用途
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

備註

在Windows SharePoint Services 2.0, SPGlobalConfig表示適用於整個部署的組態設定,並維持回溯相容性。

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.

請參閱

參照

SPGlobalConfig members

Microsoft.SharePoint.Administration namespace