Compartilhar via


Propriedade do RDL SqlMail.Profiles

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

Namespace:  Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

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

Valor da propriedade

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

Exemplos

Usando o Database Mail

Consulte também

Referência

SqlMail Classe

Namespace Microsoft.SqlServer.Management.Smo.Mail

Outros recursos

Database Mail