Propriedade do RDL ApplicationRoleCollection.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
- name
Tipo: System.String
A string value that specifies the name of the ApplicationRole object in the ApplicationRoleCollection collection.
Valor da propriedade
Tipo: Microsoft.SqlServer.Management.Smo.ApplicationRole
An ApplicationRole object value that represents the application role.
Exemplos
Consulte também
Referência
ApplicationRoleCollection Classe
Namespace Microsoft.SqlServer.Management.Smo