SubscriptionEventRuleCollection.Item Property (String)

Gets a specific SubscriptionEventRule object in the SubscriptionEventRuleCollection object by name.

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

Синтаксис

'Декларация
Public ReadOnly Default Property Item ( _
    name As String _
) As SubscriptionEventRule
public SubscriptionEventRule this [
    string name
] { get; }
public:
property SubscriptionEventRule^ default [String^] {
    SubscriptionEventRule^ get (String^ name);
}
/** @property */
public SubscriptionEventRule get_Item (String name)

Параметры

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

A SubscriptionEventRule object that represents an event rule for the parent subscription class.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

SubscriptionEventRuleCollection Class
SubscriptionEventRuleCollection Members
Microsoft.SqlServer.Management.Nmo Namespace

Другие ресурсы

Определение правил событий
EventRule Element (ADF)