Поделиться через


Свойство Item (String)

Gets the EventProperty object that has the specified name.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    name As String _
) As EventProperty
    Get
'Применение
Dim instance As EventPropertyCollection
Dim name As String
Dim value As EventProperty

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

Параметры

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

Тип Microsoft.SqlServer.Management.Smo. . :: . .EventProperty
An EventProperty object value that specifies the event property that has the specified name.