Share via


WebCreationInformation.Url property

Gets or sets the URL leaf name of the new site.

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

Syntax

'Declaration
Public Property Url As String
    Get
    Set
'Usage
Dim instance As WebCreationInformation
Dim value As String

value = instance.Url

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

Property value

Type: System.String
A String object that represents the URL leaf name.

Remarks

This property must not be a null reference (Nothing in Visual Basic).

The length of this property must be equal to or less than 128 characters.

This property must not contain consecutive "/" or "." characters. It must not begin with or end with "/" or "." characters. It must not contain the string "/wpresources". And it must not contain any of the following characters: ~"#%&\*:<>?\\{|}\x7F

See also

Reference

WebCreationInformation class

WebCreationInformation members

Microsoft.SharePoint.Client namespace