Язык

Свойство MailServerCollection.Item (Int32)

Gets a MailServer 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 MailServer 
    Get
'Применение
Dim instance As MailServerCollection 
Dim index As Integer 
Dim value As MailServer 

value = instance(index)
public MailServer this[
    int index
] { get; }
public:
property MailServer^ default[int index] {
    MailServer^ get (int index);
}
member Item : MailServer
JScript поддерживает использование индексированных свойств, но не объявление новых.

Параметры

Значение свойства

Тип: Microsoft.SqlServer.Management.Smo.Mail.MailServer
A MailServer object value that represents the mail server.

Примеры

Использование коллекций

См. также

Справочник

MailServerCollection Класс

Перегрузка Item

Пространство имен Microsoft.SqlServer.Management.Smo.Mail