Proprietà Item (String)
Gets the EventProperty object that has the specified 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 EventProperty
Get
'Utilizzo
Dim instance As EventPropertyCollection
Dim name As String
Dim value As EventProperty
value = instance(name)
public EventProperty this[
string name
] { get; }
public:
property EventProperty^ default[String^ name] {
EventProperty^ get (String^ name);
}
member Item : EventProperty
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 EventProperty object.
Valore proprietà
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .EventProperty
An EventProperty object value that specifies the event property that has the specified name.
Vedere anche