Поделиться через


Метод Contains (String)

Indicates whether the collection contains an AttributePermission with the specified identifier.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Contains ( _
    attributeId As String _
) As Boolean
'Применение
Dim instance As AttributePermissionCollection
Dim attributeId As String
Dim returnValue As Boolean

returnValue = instance.Contains(attributeId)
public bool Contains(
    string attributeId
)
public:
bool Contains(
    String^ attributeId
)
member Contains : 
        attributeId:string -> bool 
public function Contains(
    attributeId : String
) : boolean

Параметры

Возвращаемое значение

Тип System. . :: . .Boolean
true if the AttributePermission is contained in the collection; otherwise, false.