Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets whether the specified list template and website support receiving email.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Shared Function ServerTemplateCanReceiveEmail ( _
templateType As SPListTemplateType, _
web As SPWeb _
) As Boolean
'Usage
Dim templateType As SPListTemplateType
Dim web As SPWeb
Dim returnValue As Boolean
returnValue = SPList.ServerTemplateCanReceiveEmail(templateType, _
web)
public static bool ServerTemplateCanReceiveEmail(
SPListTemplateType templateType,
SPWeb web
)
Parameters
templateType
Type: Microsoft.SharePoint.SPListTemplateTypeThe template type.
web
Type: Microsoft.SharePoint.SPWebThe website.
Return Value
Type: System.Boolean
true if the list template and website support receiving email; otherwise, false.
Remarks
Meeting workspace sites cannot receive email.