共用方式為


WebCreationInformation.UseSamePermissionsAsParentSite Property

Gets or sets a value that specifies whether the new site will inherit permissions from its parent 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 UseSamePermissionsAsParentSite As Boolean
    Get
    Set
'Usage
Dim instance As WebCreationInformation
Dim value As Boolean

value = instance.UseSamePermissionsAsParentSite

instance.UseSamePermissionsAsParentSite = value
[RemoteAttribute]
public bool UseSamePermissionsAsParentSite { get; set; }

Property Value

Type: System.Boolean
true if the new site will inherit permissions from its parent site; otherwise, returns false.

See Also

Reference

WebCreationInformation Class

WebCreationInformation Members

Microsoft.SharePoint.Client Namespace