TriggerCollection.ItemById(Int32) TriggerCollection.ItemById(Int32) TriggerCollection.ItemById(Int32) Method

Definition

Extracts a member from the TriggerCollection object using a system-defined, unique identifier.

public:
 Microsoft::SqlServer::Management::Smo::Trigger ^ ItemById(int id);
public Microsoft.SqlServer.Management.Smo.Trigger ItemById (int id);
Public Function ItemById (id As Integer) As Trigger
Parameters
id
Int32 Int32 Int32

An Int32 value that uniquely identifies the Trigger object that is a member of the TriggerCollection object.

Returns

A Trigger object that has the specified ID value.

Examples

Using Collections

Applies to