DatabaseDdlTriggerCollection.Item Propiedad (String)
Gets a DatabaseDdlTrigger object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
name As String _
) As DatabaseDdlTrigger
Get
'Uso
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A String value that specifies the name of the DatabaseDdlTrigger object in the DatabaseDdlTriggerCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo.DatabaseDdlTrigger
A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.