Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the data that is necessary for notifications to be sent by email message.
Namespace: [Admin Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Admin.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Admin.asmx?wsdl
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.String
Company domain (for example, microsoft.com).
- WADMIN_NTFY_FROM_EMAIL
Type: System.String
Email address that a notification is sent from.
- WADMIN_NTFY_EMAIL_TRAILER
Type: System.String
Email footer (default: Microsoft Office Project Server).
- WADMIN_SMTP_SERVER_NAME
Type: System.String
SMTP mail server.
- WADMIN_SMTP_SERVER_PORT
Type: System.Int32
Port of the SMTP mail server (default is 25).
- WADMIN_EMAIL_CHARSET
Type: System.String
Email 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. |