Share via


SiteAdmin.Register Method

Adds a new SiteAdmin under this site.

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  System.Web.WebPages.Administration
Assembly:  System.Web.WebPages.Administration (in System.Web.WebPages.Administration.dll)

Syntax

'Declaration
Public Shared Sub Register ( _
    startPageVirtualPath As String, _
    displayName As String, _
    description As String _
)
'Usage
Dim startPageVirtualPath As String 
Dim displayName As String 
Dim description As String 

SiteAdmin.Register(startPageVirtualPath, _
    displayName, description)
public static void Register(
    string startPageVirtualPath,
    string displayName,
    string description
)
public:
static void Register(
    String^ startPageVirtualPath, 
    String^ displayName, 
    String^ description
)
static member Register : 
        startPageVirtualPath:string * 
        displayName:string * 
        description:string -> unit
public static function Register(
    startPageVirtualPath : String, 
    displayName : String, 
    description : String
)

Parameters

  • startPageVirtualPath
    Type: System.String
    The virtual path for the start page of the site admin.
  • displayName
    Type: System.String
    The display name for the site admin.
  • description
    Type: System.String
    The description for the site admin.

See Also

Reference

SiteAdmin Class

System.Web.WebPages.Administration Namespace