Delen via


IContainerSecurityExtension.CanEvaluate Method

Checks if the security extension can be used to check permissions for the artifact.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Function CanEvaluate ( _
    artifactUri As Uri _
) As Boolean
bool CanEvaluate(
    Uri artifactUri
)
bool CanEvaluate(
    Uri^ artifactUri
)
abstract CanEvaluate : 
        artifactUri:Uri -> bool
function CanEvaluate(
    artifactUri : Uri
) : boolean

Parameters

  • artifactUri
    Type: System.Uri

    Artifact Uri to validate.

Return Value

Type: System.Boolean
True if this security extension is for the given artifact Uri.

.NET Framework Security

See Also

Reference

IContainerSecurityExtension Interface

Microsoft.TeamFoundation.Framework.Server Namespace