Admin.SetNotificationAdminInfoNoResult - Méthode
Définit les données qui sont nécessaires pour les notifications soient envoyées par message électronique.
Espace de noms : WebSvcAdmin
Assembly : ProjectServerServices (dans ProjectServerServices.dll)
Syntaxe
'Déclaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetNotificationAdminInfoNoResult", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Admin/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function SetNotificationAdminInfoNoResult ( _
WADMIN_ORG_EMAIL_ADDRESS As String, _
WADMIN_NTFY_FROM_EMAIL As String, _
WADMIN_NTFY_EMAIL_TRAILER As String, _
WADMIN_SMTP_SERVER_NAME As String, _
WADMIN_SMTP_SERVER_PORT As Integer, _
WADMIN_EMAIL_CHARSET As String _
) As Integer
'Utilisation
Dim instance As Admin
Dim WADMIN_ORG_EMAIL_ADDRESS As String
Dim WADMIN_NTFY_FROM_EMAIL As String
Dim WADMIN_NTFY_EMAIL_TRAILER As String
Dim WADMIN_SMTP_SERVER_NAME As String
Dim WADMIN_SMTP_SERVER_PORT As Integer
Dim WADMIN_EMAIL_CHARSET As String
Dim returnValue As Integer
returnValue = instance.SetNotificationAdminInfoNoResult(WADMIN_ORG_EMAIL_ADDRESS, _
WADMIN_NTFY_FROM_EMAIL, WADMIN_NTFY_EMAIL_TRAILER, _
WADMIN_SMTP_SERVER_NAME, WADMIN_SMTP_SERVER_PORT, _
WADMIN_EMAIL_CHARSET)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Admin/SetNotificationAdminInfoNoResult", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Admin/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public int SetNotificationAdminInfoNoResult(
string WADMIN_ORG_EMAIL_ADDRESS,
string WADMIN_NTFY_FROM_EMAIL,
string WADMIN_NTFY_EMAIL_TRAILER,
string WADMIN_SMTP_SERVER_NAME,
int WADMIN_SMTP_SERVER_PORT,
string WADMIN_EMAIL_CHARSET
)
Paramètres
WADMIN_ORG_EMAIL_ADDRESS
Type : System.StringDomaine de l'entreprise (par exemple, microsoft.com).
WADMIN_NTFY_FROM_EMAIL
Type : System.StringAdresse de messagerie envoyé à partir d'une notification.
WADMIN_NTFY_EMAIL_TRAILER
Type : System.StringPied de page de messagerie (par défaut : Microsoft Office Project Server).
WADMIN_SMTP_SERVER_NAME
Type : System.StringServeur de messagerie SMTP.
WADMIN_SMTP_SERVER_PORT
Type : System.Int32Port du serveur de messagerie SMTP (valeur par défaut est 25).
WADMIN_EMAIL_CHARSET
Type : System.StringJeu de caractères de courrier électronique.
Valeur renvoyée
Type : System.Int32
Remarques
La page alertes et rappels dans Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Notification.aspx) utilise la méthode SetNotificationAdminInfoNoResult .
Autorisations Project Server
Autorisation |
Description |
---|---|
Permet à un utilisateur de gérer les paramètres de stratégies opérationnelles de notifications. Autorisation globale. |