Gets a Boolean value that indicates if the list of data collection
items contains a manager or a subscriber data collection
item.
Namespace: Microsoft.Clm.Shared.ProfileTemplates
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)
Usage
Visual Basic |
Dim instance As DataCollection
Dim applicationUserRole As ApplicationUserRole
Dim returnValue As Boolean
returnValue = instance.ContainsItemForRole(applicationUserRole)
|
Syntax
Visual Basic |
Public Function ContainsItemForRole ( _
applicationUserRole As ApplicationUserRole _
) As Boolean
|
JScript |
public function ContainsItemForRole (
applicationUserRole : ApplicationUserRole
) : boolean
|
Parameters
- applicationUserRole
-
An ApplicationUserRole
value that specifies an application user role.
Return Value
true if the list of data collection items contains at least
one
DataCollectionItem
object where the
OriginatorRole property matches the specified
ApplicationUserRole value; otherwise,
false.
Remarks
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows 2008 x64 Edition
Target Platforms
Windows XP SP3, Windows Vista SP1+, Windows 7, Windows Server 2008,
Windows Server 2008 R2
See Also