Compartilhar via


Propriedade do RDL Item (String)

Gets an ApplicationRole 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 ApplicationRole
    Get
'Uso
Dim instance As ApplicationRoleCollection
Dim name As String
Dim value As ApplicationRole

value = instance(name)
public ApplicationRole this[
    string name
] { get; }
public:
property ApplicationRole^ default[String^ name] {
    ApplicationRole^ get (String^ name);
}
member Item : ApplicationRole
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. . :: . .ApplicationRole
An ApplicationRole object value that represents the application role.