Profiles 屬性
表示 MailProfile 物件的集合。每個 MailProfile 物件都代表一個 SQL Server Database Mail 組態選項。
命名空間: 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 Database Mail 子系統上定義的郵件設定檔。