del método Admin.SetNotificationAdminInfoNoResult
Establece los datos que es necesarios para que las notificaciones se envíen por correo electrónico.
Espacio de nombres: WebSvcAdmin
Ensamblado: ProjectServerServices (en ProjectServerServices.dll)
Sintaxis
'Declaración
<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
'Uso
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
)
Parámetros
WADMIN_ORG_EMAIL_ADDRESS
Tipo: System.StringDominio de la compañía (por ejemplo, microsoft.com).
WADMIN_NTFY_FROM_EMAIL
Tipo: System.StringDirección de correo electrónico que se envía una notificación.
WADMIN_NTFY_EMAIL_TRAILER
Tipo: System.StringPie de página de correo electrónico (valor predeterminado: Microsoft Office Project Server).
WADMIN_SMTP_SERVER_NAME
Tipo: System.StringServidor de correo SMTP.
WADMIN_SMTP_SERVER_PORT
Tipo: System.Int32Puerto del servidor de correo SMTP (el valor predeterminado es 25).
WADMIN_EMAIL_CHARSET
Tipo: System.StringJuego de caracteres de correo electrónico.
Valor devuelto
Tipo: System.Int32
Comentarios
La página alertas y avisos en Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/Notification.aspx) utiliza el método SetNotificationAdminInfoNoResult .
Permisos de Project Server
Permiso |
Descripción |
---|---|
Permite que un usuario administrar la configuración de directivas operativas de notificaciones. Permiso global. |