DuplicatePortalUrlException Class
The DuplicatePortalUrlException class represents the exception that is thrown by the Commit method of the PortalUrl class when a duplicate URL for a portal site already exists in a Web content zone for browser security settings.
System.Object
System.Exception
System.ApplicationException
Microsoft.SharePoint.Portal.Topology.DuplicatePortalUrlException
Public Properties
The following table shows the properties of the DuplicatePortalUrlException class, the data type of each property, and a brief description of each.
Name | Data Type | Description |
---|---|---|
Message | String | Gets an error message that reports the Web content zone in which the duplicate URL already exists. |
Url | System.Uri | Gets the duplicate URL. |
Zone | Microsoft.SharePoint.Portal.Topology.PortalZone | Gets the Web content zone in which the duplicate URL already exists. |
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
See the PortalUrl Class for additional information about the PortalUrl object.
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