Share via


DatabaseDdlTriggerCollection.Item Property (String)

Gets a DatabaseDdlTrigger object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As DatabaseDdlTrigger
    Get
'Usage
Dim instance As DatabaseDdlTriggerCollection
Dim name As String
Dim value As DatabaseDdlTrigger

value = instance(name)
public DatabaseDdlTrigger this[
    string name
] { get; }
public:
property DatabaseDdlTrigger^ default[String^ name] {
    DatabaseDdlTrigger^ get (String^ name);
}
member Item : DatabaseDdlTrigger
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger
A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.