Share via


AccessPermission.TryGetValue method

Try to get an access entry object given its scope and id.

Namespace:  Microsoft.Lync.Model
Assembly:  Microsoft.Lync.Model (in Microsoft.Lync.Model.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    scope As AccessEntryScope, _
    entryId As String, _
    <OutAttribute> ByRef accessEntry As AccessEntry _
) As Boolean
'Usage
Dim instance As AccessPermission
Dim scope As AccessEntryScope
Dim entryId As String
Dim accessEntry As AccessEntry
Dim returnValue As Boolean

returnValue = instance.TryGetValue(scope, _
    entryId, accessEntry)
public bool TryGetValue(
    AccessEntryScope scope,
    string entryId,
    out AccessEntry accessEntry
)

Parameters

Return value

Type: System.Boolean
System.Boolean

See also

Reference

AccessPermission class

AccessPermission members

Microsoft.Lync.Model namespace