Profiles 属性

表示 MailProfile 对象的集合。每个 MailProfile 对象都表示一个 SQL Server 数据库邮件配置选项。

命名空间:  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
一个 MailProfileCollection 值,该值表示在 SQL Server 数据库邮件子系统中定义的邮件配置文件。