Compartir a través de


Contains Método (Role)

Indicates whether the collection contains a specified Role.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public Function Contains ( _
    item As Role _
) As Boolean
'Uso
Dim instance As RoleCollection
Dim item As Role
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    Role item
)
public:
bool Contains(
    Role^ item
)
member Contains : 
        item:Role -> bool 
public function Contains(
    item : Role
) : boolean

Parámetros

Valor devuelto

Tipo: System. . :: . .Boolean
true if the Role exists in the collection; otherwise, false.