共用方式為


WebCreationInformation.Url Property

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

Namespace:  Microsoft.SharePoint.Client
Assemblies:   Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll);  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
<RemoteAttribute> _
Public Property Url As String
    Get
    Set
'Usage
Dim instance As WebCreationInformation
Dim value As String

value = instance.Url

instance.Url = value
[RemoteAttribute]
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