Admin.SetNotificationAdminInfoNoResult method
Sets the data that is necessary for notifications to be sent by email message.
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
)
Parameters
WADMIN_ORG_EMAIL_ADDRESS
Type: System.StringCompany domain (for example, microsoft.com).
WADMIN_NTFY_FROM_EMAIL
Type: System.StringEmail address that a notification is sent from.
WADMIN_NTFY_EMAIL_TRAILER
Type: System.StringEmail footer (default: Microsoft Office Project Server).
WADMIN_SMTP_SERVER_NAME
Type: System.StringSMTP mail server.
WADMIN_SMTP_SERVER_PORT
Type: System.Int32Port of the SMTP mail server (default is 25).
WADMIN_EMAIL_CHARSET
Type: System.StringEmail character set.
Return value
Type: System.Int32
Remarks
The Alerts and Reminders page in Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Notification.aspx) uses the SetNotificationAdminInfoNoResult method.
Project Server Permissions
Permission |
Description |
---|---|
Allows a user to manage notifications operational policy settings. Global permission. |