Właściwość Item (Int32)
Pobiera MailAccount obiektu kolekcja według numeru indeksu.
Przestrzeń nazw: Microsoft.SqlServer.Management.Smo.Mail
Zestaw: Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)
Syntax
'Deklaracja
Public ReadOnly Default Property Item ( _
index As Integer _
) As MailAccount
Get
'Użycie
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 supports the use of indexed properties, but not the declaration of new ones.
Parameters
- index
Typ: System. . :: . .Int32
Int32 Wartość, która określa położenie MailAccount obiekt w MailAccountCollection kolekcja.
Wartość właściwości
Typ: Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailAccount
A MailAccount wartość obiektu, który reprezentuje konto poczty.
Zobacz także