Compartilhar via


Propriedade do RDL Item (String)

Gets an Alert object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public ReadOnly Default Property Item ( _
    name As String _
) As Alert
    Get
'Uso
Dim instance As AlertCollection
Dim name As String
Dim value As Alert

value = instance(name)
public Alert this[
    string name
] { get; }
public:
property Alert^ default[String^ name] {
    Alert^ get (String^ name);
}
member Item : Alert
JScript dá suporte ao uso de propriedades indexadas, mas não à declaração de propriedades novas.

Parâmetros

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo.Agent. . :: . .Alert
An Alert object value that represents the alert.

Comentários

Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.