共用方式為


WebTemplate.IsSubWebOnly Property

Gets a value that specifies whether the site definition configuration or site template can only be applied to subsites created within the site collection.

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 ReadOnly Property IsSubWebOnly As Boolean
    Get
'Usage
Dim instance As WebTemplate
Dim value As Boolean

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

Property Value

Type: System.Boolean
Returns Booleantrue if the site definition configuration or site template can only be applied to subsites created within the site collection; otherwise returns false. The default value is

See Also

Reference

WebTemplate Class

WebTemplate Members

Microsoft.SharePoint.Client Namespace