DuplicatePortalUrlException Class

NOTE: This API is now obsolete.

Use classes in the Microsoft.SharePoint.Administration namespace in Windows SharePoint Services 3.0 instead.

Inheritance Hierarchy

System.Object
  System.Exception
    Microsoft.SharePoint.Portal.Topology.DuplicatePortalUrlException

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

Syntax

'Declaration
<ObsoleteAttribute> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public NotInheritable Class DuplicatePortalUrlException _
    Inherits Exception
'Usage
Dim instance As DuplicatePortalUrlException
[ObsoleteAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class DuplicatePortalUrlException : Exception

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.

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.

See Also

Reference

DuplicatePortalUrlException Members

Microsoft.SharePoint.Portal.Topology Namespace