Partilhar via


SPWebApplication.RequireContactForSelfServiceSiteCreation Property

Gets or sets a value indicating whether self-service site creation requires the site owner's contact information.

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.RequireContactForSelfServiceSiteCreation

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

Property Value

Type: System.Boolean
true if contact information is required; otherwise, false. The default value is false.

See Also

Reference

SPWebApplication Class

SPWebApplication Members

Microsoft.SharePoint.Administration Namespace