다음을 통해 공유


Template.IsRootWebOnly Property

Gets or sets a Boolean value that specifies whether the template applies only to the root Web site in the site collection.

Namespace:  [Sites Web service]
Web service reference: http://Site/_vti_bin/Sites.asmx

Syntax

'Declaration
Public Property IsRootWebOnly As Boolean
    Get
    Set
'Usage
Dim instance As Template
Dim value As Boolean

value = instance.IsRootWebOnly

instance.IsRootWebOnly = value
public bool IsRootWebOnly { get; set; }

Property Value

Type: System.Boolean
Returns true if the template applies only to the root Web site; otherwise, returns false.

See Also

Reference

Template Class

Template Members

Sites Web Service