Account 接口

定义

Account 对象表示为当前配置文件定义的帐户。

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
派生
属性
实现

注解

这是派生自 COM Coclass(托管代码要求此 Coclass 来实现与相应的 COM 对象的互操作性)的 .NET 接口。 使用此派生的接口来访问所有方法、属性和 COM 对象的事件成员。 但是,如果您想要使用的方法或事件共享同一名称并且位于相同的 COM 对象下,请转换为相应的主接口以调用该方法,并转换为最新的事件接口以连接到该事件。 参考此主题以获取有关 COM 对象的信息。 有关 COM 对象的方法和属性成员的信息,请参阅 _Account

集合对象和 Account 对象的用途Accounts是允许枚举给定配置文件中的 Account 对象、标识 Account 的类型,以及使用特定的 Account 对象发送邮件。

属性

AccountType

在枚举中 OlAccountType 返回一个常量,该常量指示 的类型 Account。 只读。

(继承自 _Account)
Application

返回一个 Application 对象,该对象代表对象的父 Outlook 应用程序。 只读。

(继承自 _Account)
AutoDiscoverConnectionMode

返回一个 OlAutoDiscoverConnectionMode 常量,该常量指定用于托管帐户邮箱的 Microsoft Exchange 服务器的自动发现服务的连接类型。 只读。

(继承自 _Account)
AutoDiscoverXml

返回 C#) 中的字符串 (字符串,该字符串表示从与帐户关联的Microsoft Exchange Server的自动发现服务检索到的 XML 中的信息。 只读。

(继承自 _Account)
Class

返回一个 OlObjectClass 常量,指示对象的 类。 只读。

(继承自 _Account)
CurrentUser

返回一个 Recipient 对象,该对象表示帐户的当前用户标识。 只读。

(继承自 _Account)
DeliveryStore

返回一个 Store 对象,该对象表示帐户的默认传递存储。 只读。

(继承自 _Account)
DisplayName

返回 C# 中的 字符串 (字符串 ,) 表示电子邮件 Account的显示名称。 只读。

(继承自 _Account)
ExchangeConnectionMode

返回一个OlExchangeConnectionMode常量,该常量指示托管帐户邮箱的Microsoft Exchange Server的当前连接模式。 只读

(继承自 _Account)
ExchangeMailboxServerName

返回 C# 中的字符串 (字符串) 值,该值代表承载帐户邮箱的Microsoft Exchange Server的名称。 只读。

(继承自 _Account)
ExchangeMailboxServerVersion

返回 C#) 中的字符串 (字符串,该字符串表示承载帐户邮箱的Microsoft Exchange Server的完整版本号。 只读。

(继承自 _Account)
IOlkAccount

Account 对象表示为当前配置文件定义的帐户。

(继承自 _Account)
Parent

返回指定对象的 对象 的父级。 只读。

(继承自 _Account)
Session

返回 NameSpace 当前会话的 对象。 只读。

(继承自 _Account)
SmtpAddress

以 C# ) 返回一个 字符串 (字符串 ,表示 简单邮件传输协议 (SMTP) 地址 Account。 只读。

(继承自 _Account)
UserName

返回 C# 中的 字符串 (字符串 ,) 表示 的 Account用户名。 只读。

(继承自 _Account)

方法

GetAddressEntryFromID(String)

返回一个 AddressEntry 对象,该对象表示由给定条目 ID 指定的地址条目。

(继承自 _Account)
GetRecipientFromID(String)

返回 Recipient 由给定条目 ID 标识的对象。

(继承自 _Account)

适用于