ServerDdlTriggerCollection.Item[String] ServerDdlTriggerCollection.Item[String] ServerDdlTriggerCollection.Item[String] Property

Definition

Overloads

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

Gets a ServerDdlTrigger object in the collection by index number.

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

Gets a ServerDdlTrigger object in the collection by name.

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

Gets a ServerDdlTrigger object in the collection by index number.

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

An Int32 value that specifies the position of the ServerDdlTrigger object in the ServerDdlTriggerCollection collection.

Property Value

A ServerDdlTrigger object value that represents the server data definition language (DDL) trigger.

Examples

Using Collections

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

Gets a ServerDdlTrigger object in the collection by name.

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

A String value that specifies the name of the ServerDdlTrigger object in the ServerDdlTriggerCollection collection.

Property Value

A ServerDdlTrigger object value that represents the server data definition language (DDL) trigger.

Examples

Using Collections

Applies to