Compartilhar via


ExchangeConnectionSettings.Create method (String, String, String, SmtpAddress, String, String, AuthenticationMethod, Boolean)

Namespace:  Microsoft.Exchange.Data.Storage.Management
Assembly:  Microsoft.Exchange.Data.Storage (in Microsoft.Exchange.Data.Storage.dll)

Syntax

'Declaration
Public Shared Function Create ( _
    userName As String, _
    domain As String, _
    encryptedPassword As String, _
    incomingEmailAddress As SmtpAddress, _
    incomingRpcProxyServer As String, _
    incomingExchangeServer As String, _
    incomingAuthentication As AuthenticationMethod, _
    hasAdminPrivilege As Boolean _
) As ExchangeConnectionSettings
'Usage
Dim userName As String
Dim domain As String
Dim encryptedPassword As String
Dim incomingEmailAddress As SmtpAddress
Dim incomingRpcProxyServer As String
Dim incomingExchangeServer As String
Dim incomingAuthentication As AuthenticationMethod
Dim hasAdminPrivilege As Boolean
Dim returnValue As ExchangeConnectionSettings

returnValue = ExchangeConnectionSettings.Create(userName, _
    domain, encryptedPassword, incomingEmailAddress, _
    incomingRpcProxyServer, incomingExchangeServer, _
    incomingAuthentication, hasAdminPrivilege)
public static ExchangeConnectionSettings Create(
    string userName,
    string domain,
    string encryptedPassword,
    SmtpAddress incomingEmailAddress,
    string incomingRpcProxyServer,
    string incomingExchangeServer,
    AuthenticationMethod incomingAuthentication,
    bool hasAdminPrivilege
)

Parameters

Return value

Type: Microsoft.Exchange.Data.Storage.Management.ExchangeConnectionSettings

See also

Reference

ExchangeConnectionSettings class

ExchangeConnectionSettings members

Create overload

Microsoft.Exchange.Data.Storage.Management namespace