Redigera

Dela via


ApplicationTrustCollection.Find Method

Definition

Gets the application trusts in the collection that match the specified application identity.

public:
 System::Security::Policy::ApplicationTrustCollection ^ Find(ApplicationIdentity ^ applicationIdentity, System::Security::Policy::ApplicationVersionMatch versionMatch);
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
[System.Security.SecurityCritical]
public System.Security.Policy.ApplicationTrustCollection Find (ApplicationIdentity applicationIdentity, System.Security.Policy.ApplicationVersionMatch versionMatch);
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
[<System.Security.SecurityCritical>]
member this.Find : ApplicationIdentity * System.Security.Policy.ApplicationVersionMatch -> System.Security.Policy.ApplicationTrustCollection
Public Function Find (applicationIdentity As ApplicationIdentity, versionMatch As ApplicationVersionMatch) As ApplicationTrustCollection

Parameters

applicationIdentity
ApplicationIdentity

An ApplicationIdentity object describing the application to find.

versionMatch
ApplicationVersionMatch

One of the ApplicationVersionMatch values.

Returns

An ApplicationTrustCollection containing all matching ApplicationTrust objects.

Attributes

Remarks

The application trust is optionally selected by an exact version match, based on the value of the versionMatch parameter.

Applies to