Item Propiedad (String)
Gets an ApplicationRole object in the collection by name.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
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 admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System. . :: . .String
A string value that specifies the name of the ApplicationRole object in the ApplicationRoleCollection collection.
Valor de la propiedad
Tipo: Microsoft.SqlServer.Management.Smo. . :: . .ApplicationRole
An ApplicationRole object value that represents the application role.
Vea también