ProductKeyNullException Class
NOTE: This API is now obsolete.
Inheritance Hierarchy
System.Object
System.Exception
Microsoft.SharePoint.Portal.Topology.ProductKeyNullException
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 ProductKeyNullException _
Inherits Exception
'Usage
Dim instance As ProductKeyNullException
[ObsoleteAttribute]
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public sealed class ProductKeyNullException : Exception
Remarks
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.