Propriedade Item (String)
Gets a DatabaseDdlTrigger object in the collection by name.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
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 dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.
Parâmetros
- name
Tipo: System. . :: . .String
A String value that specifies the name of the DatabaseDdlTrigger object in the DatabaseDdlTriggerCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .DatabaseDdlTrigger
A DatabaseDdlTrigger object value that represents the database data definition language (DDL) trigger.