MailAccountCollection.Item Propiedad (Int32)
Gets a MailAccount object in the collection by index number.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Mail
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
index As Integer _
) As MailAccount
Get
'Uso
Dim instance As MailAccountCollection
Dim index As Integer
Dim value As MailAccount
value = instance(index)
public MailAccount this[
int index
] { get; }
public:
property MailAccount^ default[int index] {
MailAccount^ get (int index);
}
member Item : MailAccount
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- index
Tipo: System.Int32
An Int32 value that specifies the position of the MailAccount object in the MailAccountCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.Mail.MailAccount
A MailAccount object value that represents the mail account.