다음을 통해 공유


SPList.ServerTemplateCanReceiveEmail Method

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

Return Value

Type: System.Boolean
true if the list template and website support receiving email; otherwise, false.

Remarks

Meeting workspace sites cannot receive email.

See Also

Reference

SPList Class

SPList Members

Microsoft.SharePoint Namespace