Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the name of the website.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property Name As String
Get
Set
'Usage
Dim instance As SPWeb
Dim value As String
value = instance.Name
instance.Name = value
public string Name { get; set; }
Property Value
Type: System.String
A string that contains the name.
Remarks
The Name property returns an empty string if the site is a top-level site.