[This topic is pre-release documentation and
is subject to change in future releases. Blank topics are included
as placeholders.]
Assembly: Microsoft.ConfigurationManagement.Messaging(in Microsoft.ConfigurationManagement.Messaging.dll)
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, bool onlyReturnClientAuthCertificates )
Public Shared Function Find ( _ storeLocation As StoreLocation, _ storeName As String, _ findType As X509FindType, _ findByValue As String, _ onlyReturnClientAuthCertificates As Boolean _ ) As MessageCertificateX509File
public: static MessageCertificateX509File^ Find( StoreLocation storeLocation, String^ storeName, X509FindType findType, String^ findByValue, bool onlyReturnClientAuthCertificates )
Parameters
- storeLocation
-
StoreLocation
Certificate store location
- storeName
-
String
Certificate store name
- findType
-
X509FindType
Type of find.
- findByValue
-
String
Value argument for findType.
- onlyReturnClientAuthCertificates
-
Boolean
If true, only client authentication certificates will be queried