Свойство Item (Int32)
Gets a MailAccount object in the collection by index number.
Пространство имен: Microsoft.SqlServer.Management.Smo.Mail
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
Public ReadOnly Default Property Item ( _
index As Integer _
) As MailAccount
Get
'Применение
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 поддерживает использование индексированных свойств, но не объявление новых.
Параметры
- index
Тип System. . :: . .Int32
An Int32 value that specifies the position of the MailAccount object in the MailAccountCollection collection.
Значение свойства
Тип Microsoft.SqlServer.Management.Smo.Mail. . :: . .MailAccount
A MailAccount object value that represents the mail account.