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