共用方式為


Account Members (Outlook)

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

Methods

Name

Description

GetAddressEntryFromID

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

GetRecipientFromID

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

Properties

Name

Description

AccountType

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

Application

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

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.

AutoDiscoverXml

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

Class

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

CurrentUser

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

DeliveryStore

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

DisplayName

Returns a String representing the display name of the e-mail Account. Read-only.

ExchangeConnectionMode

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

ExchangeMailboxServerName

Returns a String value that represents the name of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

ExchangeMailboxServerVersion

Returns the full version number of the Microsoft Exchange Server that hosts the account mailbox. Read-only.

Parent

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

Session

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

SmtpAddress

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

UserName

Returns a String representing the user name for the Account. Read-only.