Freigeben über


AccessPermission.TryGetValue Method

Try to get an access entry object given access 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

See Also

Reference

AccessPermission Class

AccessPermission Members

Microsoft.Lync.Model Namespace