Freigeben über


Admin.SetNotificationAdminInfoNoResult-Methode

Legt die erforderlichen Daten für Benachrichtigungen per e-Mail gesendet werden.

Namespace:  WebSvcAdmin
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<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
'Usage
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
)

Parameter

  • WADMIN_ORG_EMAIL_ADDRESS
    Typ: System.String

    Unternehmensdomäne (z. B. microsoft.com).

  • WADMIN_NTFY_FROM_EMAIL
    Typ: System.String

    E-Mail-Adresse, die aus eine Benachrichtigung gesendet wird.

  • WADMIN_NTFY_EMAIL_TRAILER
    Typ: System.String

    E-Mail-Fußzeile (Standard: Microsoft Office Project Server).

  • WADMIN_SMTP_SERVER_PORT
    Typ: System.Int32

    Port des SMTP-Servers (Standard ist 25).

Rückgabewert

Typ: System.Int32

Hinweise

Die Seite Warnungen und Erinnerungen in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Notification.aspx) wird die SetNotificationAdminInfoNoResult -Methode verwendet.

Project Server-Berechtigungen

Berechtigung

Beschreibung

ManageNotificationAndReminders

Ermöglicht einem Benutzer das Verwalten von Benachrichtigungen betriebsrichtlinieneinstellungen. Die globale Berechtigung.

Siehe auch

Referenz

Admin Klasse

Admin-Member

WebSvcAdmin-Namespace