SPVirtualServerConfig Class

The SPVirtualServerConfig class represents the configuration settings for a virtual server.

System.Object

   Microsoft.SharePoint.Administration.SPVirtualServerConfig

Public Methods

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

Name Description
ToXmlString Returns the configuration settings for the virtual server as an XML string.

Public Properties

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

Name Data Type Description

Visit AlternateUrls

Microsoft.SharePoint.Administration.SPAlternateUrlCollection Gets the collection of alternate request URLs for the virtual server.
CustomZoneOutgoingUrl String Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the custom zone.
DefaultZoneOutgoingUrl String Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the default zone.
EmailInsertsEnabled Boolean Gets or sets a Boolean value that specifies whether document libraries on the virtual server can accept e-mail attachments.
EventHandlersEnabled Boolean Gets or sets a Boolean value that specifies whether event handlers for document libraries are enabled.
ExtranetZoneOutgoingUrl String Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the extranet zone.
InternetZoneOutgoingUrl String Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the Internet zone.
IntranetZoneOutgoingUrl String Gets or sets the outgoing URL that Windows SharePoint Services returns in response to a request originating in the intranet zone.
JobEmailInserts String Gets or sets how often to check the public folder for new e-mail attachments for a document library.
Prefixes Microsoft.SharePoint.Administration.SPPrefixCollection Gets the collection of prefixes for URLs used on the virtual server.
Properties Microsoft.SharePoint.Utilities.SPPropertyBag Gets configuration settings that are used on the virtual server.
PublicFolderUrl String Gets or sets the server name and root path for the public folders to use for e-mail attachments in document libraries.
SelfServiceSiteCreationEnabled Boolean Gets or sets a Boolean value that specifies whether Self-Service Site Creation is enabled on the virtual server.
SelfServiceSiteCreationRequireContact Boolean Gets or sets a Boolean value that specifies whether a secondary contact is required when using the Self-Service Site Creation.
VirtualServer Microsoft.SharePoint.Administration.SPVirtualServer Gets the virtual server to which the configuration settings apply.

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 Config property of the SPVirtualServer class to get an SPVirtualServerConfig object that represents configuration settings for the virtual server.

Requirements

Namespace: Microsoft.SharePoint.Administration

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security