次の方法で共有


SPWebApplication.ShowStartASiteMenuItem property

Gets or sets a Boolean that specifies whether the "Start a new site" menu item is shown.

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

Syntax

'Declaration
Public Property ShowStartASiteMenuItem As Boolean
    Get
    Set
'Usage
Dim instance As SPWebApplication
Dim value As Boolean

value = instance.ShowStartASiteMenuItem

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

Property value

Type: System.Boolean
true if the "Start a new site" menu item is shown; otherwise false.

See also

Reference

SPWebApplication class

SPWebApplication members

Microsoft.SharePoint.Administration namespace