Proprietà SqlMail.Profiles

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(MailProfile))> _
Public ReadOnly Property Profiles As MailProfileCollection 
    Get
'Utilizzo
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

Valore proprietà

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

Esempi

Utilizzo di Posta elettronica database

Vedere anche

Riferimento

SqlMail Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo.Mail

Altre risorse

Posta elettronica database