GlobalProperties Class

The GlobalProperties class represents a set of properties specific to Microsoft Office SharePoint Portal Server 2003 that apply across a server or server farm.

System.Object

Microsoft.SharePoint.Portal.Topology.TopologyObjectBase

   **Microsoft.SharePoint.Portal.Topology.GlobalProperties**

Public Methods

The following table shows the public methods of the GlobalProperties class and a brief description of each.

Name Description
Commit(Boolean) Persists changes made to the properties of the GlobalProperties instance.

Public Properties

The following table shows the properties of the GlobalProperties class, the data type of each property, and a brief description of each.

Name Data Type Description
ContactEmail String Gets or sets the e-mail address of the portal owner or of the contact for search.
CrawlAccountUserName Property String Gets or sets the account used by the IndexService object.
DefaultDocumentService Microsoft.SharePoint.Portal.Topology.DocumentService Gets or sets the default DocumentService object for a portal site.
DefaultServiceDatabaseService Microsoft.SharePoint.Portal.Topology.DatabaseService Gets or sets the default services database for a portal site.
DefaultSiteDatabaseService Microsoft.SharePoint.Portal.Topology.DatabaseService Gets or sets the default content database for a portal site.
IsCentral Boolean Gets a value that indicates whether the portal site is a parent portal site that provides shared services.
IsFederated Boolean Gets a value that indicates whether the portal site is a child portal site.
JobServer Microsoft.SharePoint.Portal.Topology.Server Gets or sets the server that runs background processes for the portal site.
JobStatus String Gets or sets the status of a long-running operation.
LanguageID Property Int32 Gets or sets the language of the portal site.
MasterConfigurationDatabase Microsoft.SharePoint.Portal.Topology.ConfigurationDatabase Gets the configuration database of the portal site.
MasterFarmConnectionString Microsoft.SharePoint.Portal.Data.SqlConnectionString Gets or sets the connection string for the configuration database.
MasterPortalSite Microsoft.SharePoint.Portal.Topology.PortalSite Gets or sets the parent portal site in a shared service.
Name String Reserved.
ProxyAddress String Gets or sets the address of the proxy server.
ProxyBypassList String Gets or sets the list of addresses for which to bypass the proxy server.
ProxyBypassLocal Boolean Gets or sets a value that indicates whether to bypass the proxy server for local addresses.
ProxyPort Int32 Gets or sets the port used by the proxy server.
ProxyType Microsoft.SharePoint.Portal.Topology.ProxyType Gets or sets a constant that indicates whether to use a proxy server.
SSODatabaseConnectionString Microsoft.SharePoint.Portal.Data.SqlConnectionString Gets or sets the connection string for the single sign-on database.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Any instance members are not guaranteed to be thread safe.

Remarks

Use the GlobalProperties class to manage settings specific to SharePoint Portal Server that apply across the topology of the server farm. Use the Globals class to manage settings specific to Microsoft Windows SharePoint Services that apply across the topology of the server farm.

In a SharePoint Portal Server topology, the Globals class contains properties specific to Windows SharePoint Services, and the GlobalProperties class contains properties specific to SharePoint Portal Server. Properties of the Globals class are stored in the Globals table of the configuration database; properties of the GlobalProperties class are stored in the PortalGlobals table of the configuration database.

Instances of the IndexService object use the values of the proxy server properties when creating content indexes.

After calling the Add(Microsoft.SharePoint.Portal.Topology.DocumentService) method of the DocumentServiceCollection object you must update the DefaultDocumentService property according to the action taken. If a new document service is added, the DefaultDocumentService property must point to it. In addition, you must call the Commit(Boolean) method of the GlobalProperties object to persist the changes.

To use the properties and methods of the objects in the Topology namespace you must be a member of the local STS_WPG and SPS_WPG security groups, and a member of the db_owner database role for the configuration database.

In addition, for certain methods, such as those that create a portal site, you must be a member of the local Administrators group, and have membership in the Database Creators and Security Administrators server roles in the SQL Server instance that hosts the configuration database.

Requirements

Namespace: Microsoft.SharePoint.Portal.Topology

Platforms: Microsoft Windows Server 2003

Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Security: Code Access Security