Share via


PublishingWeb.Name Property

Gets or sets the URL name of this PublishingWeb object.

Namespace:  Microsoft.SharePoint.Publishing
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As PublishingWeb
Dim value As String

value = instance.Name

instance.Name = value
public string Name { get; set; }

Property Value

Type: System.String
The URL name of this PublishingWeb object.

Remarks

This property wraps the Name property

To save changes after setting this property, call the Update method.

See Also

Reference

PublishingWeb Class

PublishingWeb Members

Microsoft.SharePoint.Publishing Namespace

Title