Proprietà DatabaseDdlTriggerCollection.Item (String)
Gets a DatabaseDdlTrigger object in the collection by name.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public ReadOnly Default Property Item ( _
name As String _
) As DatabaseDdlTrigger
Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- name
Tipo: System.String
A String value that specifies the name of the DatabaseDdlTrigger object in the DatabaseDdlTriggerCollection collection.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger
A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.