SqlMail.Profiles 属性

Represents a collection of MailProfile objects. Each MailProfile object represents a SQL Server Database Mail configuration option.

命名空间:  Microsoft.SqlServer.Management.Smo.Mail
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MailProfile))> _
Public ReadOnly Property Profiles As MailProfileCollection 
    Get
用法
Dim instance As SqlMail 
Dim value As MailProfileCollection 

value = instance.Profiles
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailProfile))]
public MailProfileCollection Profiles { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(MailProfile))]
public:
property MailProfileCollection^ Profiles {
    MailProfileCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(MailProfile))>]
member Profiles : MailProfileCollection
function get Profiles () : MailProfileCollection

属性值

类型:Microsoft.SqlServer.Management.Smo.Mail.MailProfileCollection
A MailProfileCollection that represents the mail profiles defined on the SQL Server Database Mail subsystem.

示例

使用数据库邮件

请参阅

参考

SqlMail 类

Microsoft.SqlServer.Management.Smo.Mail 命名空间

其他资源

数据库邮件