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
- userName
Type: System.String
- domain
Type: System.String
- encryptedPassword
Type: System.String
- incomingRpcProxyServer
Type: System.String
- incomingExchangeServer
Type: System.String
- incomingAuthentication
Type: Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod
- hasAdminPrivilege
Type: System.Boolean
- hasMrsProxy
Type: System.Boolean
Return value
Type: Microsoft.Exchange.Data.Storage.Management.ExchangeConnectionSettings
See also
Reference
ExchangeConnectionSettings class