Account Account Account Interface

Definition

The Account object represents an account defined for the current profile.

public interface class Account : Microsoft::Office::Interop::Outlook::_Account
[System.Runtime.InteropServices.Guid("000630C5-0000-0000-C000-000000000046")]
public interface Account : Microsoft.Office.Interop.Outlook._Account
Public Interface Account
Implements _Account
Derived
Attributes
Implements

Remarks

This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _Account.

The purpose of the Accounts collection object and the Account object is to allow the enumeration of Account objects in a given profile, the identification of the type of an Account, and the use of a specific Account object to send mail.

Properties

AccountType AccountType AccountType

Returns a constant in the OlAccountType enumeration that indicates the type of the Account. Read-only.

(Inherited from _Account)

Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _Account)

AutoDiscoverConnectionMode AutoDiscoverConnectionMode AutoDiscoverConnectionMode

Returns an OlAutoDiscoverConnectionMode constant that specifies the type of connection to use for the auto-discovery service of the Microsoft Exchange server that hosts the account mailbox. Read-only.

(Inherited from _Account)

AutoDiscoverXml AutoDiscoverXml AutoDiscoverXml

Returns a String (string in C#) that represents information in XML retrieved from the auto-discovery service of the Microsoft Exchange Server that is associated with the account. Read-only.

(Inherited from _Account)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _Account)

CurrentUser CurrentUser CurrentUser

Returns a Recipient object that represents the current user identity for the account. Read-only.

(Inherited from _Account)

DeliveryStore DeliveryStore DeliveryStore

Returns a Store object that represents the default delivery store for the account. Read-only.

(Inherited from _Account)

DisplayName DisplayName DisplayName

Returns a String (string in C#) representing the display name of the e-mail Account. Read-only.

(Inherited from _Account)

ExchangeConnectionMode ExchangeConnectionMode ExchangeConnectionMode

Returns an OlExchangeConnectionMode constant that indicates the current connection mode for the Microsoft Exchange Server that hosts the account mailbox. Read-only

(Inherited from _Account)

ExchangeMailboxServerName ExchangeMailboxServerName ExchangeMailboxServerName

Returns a String (string in C#) value that represents the name of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

(Inherited from _Account)

ExchangeMailboxServerVersion ExchangeMailboxServerVersion ExchangeMailboxServerVersion

Returns a String (string in C#) that represents the full version number of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

(Inherited from _Account)

IOlkAccount IOlkAccount IOlkAccount

Inherited from _Account

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _Account)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _Account)

SmtpAddress SmtpAddress SmtpAddress

Returns a String (string in C#) representing the Simple Mail Transfer Protocol (SMTP) address for the Account. Read-only.

(Inherited from _Account)

UserName UserName UserName

Returns a String (string in C#) representing the user name for the Account. Read-only.

(Inherited from _Account)

Methods

GetAddressEntryFromID(String) GetAddressEntryFromID(String) GetAddressEntryFromID(String)

Returns an AddressEntry object that represents the address entry specified by the given entry ID.

(Inherited from _Account)

GetRecipientFromID(String) GetRecipientFromID(String) GetRecipientFromID(String)

Returns the Recipient object that is identified by the given entry ID.

(Inherited from _Account)

Applies to