SqlMail.Accounts Propiedad
Represents a collection of MailAccount objects. Each MailAccount object represents a SQL Server Database Mail account.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Mail
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(MailAccount))> _
Public ReadOnly Property Accounts As MailAccountCollection
Get
'Uso
Dim instance As SqlMail
Dim value As MailAccountCollection
value = instance.Accounts
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(MailAccount))]
public MailAccountCollection Accounts { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(MailAccount))]
public:
property MailAccountCollection^ Accounts {
MailAccountCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(MailAccount))>]
member Accounts : MailAccountCollection
function get Accounts () : MailAccountCollection
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Mail.MailAccountCollection
A MailAccountCollection that represents the mail accounts defined on the SQL Server Database Mail subsystem.
Ejemplos
Utilizar el correo electrónico de base de datos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Mail