Share via


ExchangeConnectionSettings.Create method (String, String, String, String, String, AuthenticationMethod, Boolean, 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, _
    incomingRpcProxyServer As String, _
    incomingExchangeServer As String, _
    incomingAuthentication As AuthenticationMethod, _
    hasAdminPrivilege As Boolean, _
    hasMrsProxy As Boolean _
) As ExchangeConnectionSettings
'Usage
Dim userName As String
Dim domain As String
Dim encryptedPassword As String
Dim incomingRpcProxyServer As String
Dim incomingExchangeServer As String
Dim incomingAuthentication As AuthenticationMethod
Dim hasAdminPrivilege As Boolean
Dim hasMrsProxy As Boolean
Dim returnValue As ExchangeConnectionSettings

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

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