SPList.ServerTemplateCanReceiveEmail - Méthode
Gets whether the specified list template and website support receiving email.
Espace de noms : Microsoft.SharePoint
Assembly : Microsoft.SharePoint (dans Microsoft.SharePoint.dll)
Syntaxe
'Déclaration
Public Shared Function ServerTemplateCanReceiveEmail ( _
templateType As SPListTemplateType, _
web As SPWeb _
) As Boolean
'Utilisation
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
)
Paramètres
templateType
Type : Microsoft.SharePoint.SPListTemplateTypeThe template type.
web
Type : Microsoft.SharePoint.SPWebThe website.
Valeur renvoyée
Type : System.Boolean
true if the list template and website support receiving email; otherwise, false.
Remarques
Meeting workspace sites cannot receive email.