DatabaseDdlTriggerCollection.Item[String] DatabaseDdlTriggerCollection.Item[String] DatabaseDdlTriggerCollection.Item[String] Property

Definition

Overloads

Item[Int32] Item[Int32] Item[Int32]

Gets a DatabaseDdlTriggerCollection object in the collection by index number.

Item[String] Item[String] Item[String]

Gets a DatabaseDdlTrigger object in the collection by name.

Item[Int32] Item[Int32] Item[Int32]

Gets a DatabaseDdlTriggerCollection object in the collection by index number.

public:
 property Microsoft::SqlServer::Management::Smo::DatabaseDdlTrigger ^ default[int] { Microsoft::SqlServer::Management::Smo::DatabaseDdlTrigger ^ get(int index); };
public Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger this[int index] { get; }
Default Public ReadOnly Property Item(index As Integer) As DatabaseDdlTrigger
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the position of the DatabaseDdlTrigger object in the DatabaseDdlTriggerCollection collection.

Property Value

A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.

Examples

Using Collections

Item[String] Item[String] Item[String]

Gets a DatabaseDdlTrigger object in the collection by name.

public:
 property Microsoft::SqlServer::Management::Smo::DatabaseDdlTrigger ^ default[System::String ^] { Microsoft::SqlServer::Management::Smo::DatabaseDdlTrigger ^ get(System::String ^ name); };
public Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger this[string name] { get; }
Default Public ReadOnly Property Item(name As String) As DatabaseDdlTrigger
Parameters
name
String String String

A String value that specifies the name of the DatabaseDdlTrigger object in the DatabaseDdlTriggerCollection collection.

Property Value

A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.

Examples

Using Collections

Applies to