Contains Método (String)
Indicates whether the collection contains a Role, that has the specified identifier.
Espacio de nombres: Microsoft.AnalysisServices
Ensamblado: Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Sintaxis
'Declaración
Public Function Contains ( _
id As String _
) As Boolean
'Uso
Dim instance As RoleCollection
Dim id As String
Dim returnValue As Boolean
returnValue = instance.Contains(id)
public bool Contains(
string id
)
public:
bool Contains(
String^ id
)
member Contains :
id:string -> bool
public function Contains(
id : String
) : boolean
Parámetros
- id
Tipo: System. . :: . .String
The identifier of the Role to locate.
Valor devuelto
Tipo: System. . :: . .Boolean
true if the Role exists in the collection; otherwise, false.