[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Attempts to find a certificate and assign the property information to select the matching certificate.

If there's multiple matches, only the first match will be returned.

Namespace:  Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 

MessageCertificateX509File 
Find(
	
StoreLocation 
storeLocation,
	
string 
storeName,
	
X509FindType 
findType,
	
string 
findByValue
)
Public 
Shared 
Function 
Find ( _
	
storeLocation 
As 
StoreLocation, _
	
storeName 
As 
String, _
	
findType 
As 
X509FindType, _
	
findByValue 
As 
String _
) 
As 

MessageCertificateX509File
public:
static 

MessageCertificateX509File^ 
Find(
	
StoreLocation 
storeLocation, 
	
String^ 
storeName, 
	
X509FindType 
findType, 
	
String^ 
findByValue
)

Parameters

storeLocation
StoreLocation
Certificate store location
storeName
String
Certificate store name
findType
X509FindType
Type of find.
findByValue
String
Value argument for findType.

See Also