SPSite.ShareByEmailEnabled property

ShareByEmailEnabled when true means that user's will be able to grant permissions to guests for resources within the site collection

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

Syntax

'Declaration
Public Property ShareByEmailEnabled As Boolean
    Get
    Set
'Usage
Dim instance As SPSite
Dim value As Boolean

value = instance.ShareByEmailEnabled

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

Property value

Type: System.Boolean

See also

Reference

SPSite class

SPSite members

Microsoft.SharePoint namespace