Properties Property

The Properties property of the SPGlobalConfig class gets global configuration settings that are used in the Microsoft Windows SharePoint Services deployment.

Property Value

Microsoft.SharePoint.Utilities.SPPropertyBag object that contains the global configuration settings. For information about the string keys represented in the property bag, see "Command-Line Properties" in the Administrator's Guide for Windows SharePoint Services.


The following code example iterates through the collection of key-and-value pairs returned by the Properties property and displays each pair.

This example requires using directives (Imports in Visual Basic) for both the Microsoft.SharePoint.Administration and Microsoft.SharePoint.Utilities namespaces.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security