ApplicationRoleCollection.Item Property (Int32)
Gets an ApplicationRole object in the collection by index number.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Sintaxis
'Declaración
Public ReadOnly Default Property Item ( _
index As Integer _
) As ApplicationRole
public ApplicationRole this [
int index
] { get; }
public:
property ApplicationRole^ default [int] {
ApplicationRole^ get (int index);
}
/** @property */
public ApplicationRole get_Item (int index)
Parámetros
- index
An Int32 value that specifies the position of the ApplicationRole object in the ApplicationRoleCollection collection.
Valor de propiedad
An ApplicationRole object value that represents the application role.
Notas
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Ejemplo
How to: Reference an Object by Using a Collection in Visual Basic .NET
How to: Iterate Through the Members of a Collection in Visual Basic .NET
Seguridad para subprocesos
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plataformas
Plataformas de desarrollo
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Plataformas de destino
Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.
Vea también
Referencia
ApplicationRoleCollection Class
ApplicationRoleCollection Members
Microsoft.SqlServer.Management.Smo Namespace