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

Removes a certificate from the certificate store

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

Syntax

                 
  C#     Visual Basic     Visual C++  
public 
static 
bool 
RemoveCertificateFromStore(
	
StoreLocation 
storeLocation,
	
string 
storeName,
	
string 
certificateThumbprint
)
Public 
Shared 
Function 
RemoveCertificateFromStore ( _
	
storeLocation 
As 
StoreLocation, _
	
storeName 
As 
String, _
	
certificateThumbprint 
As 
String _
) 
As 
Boolean
public:
static 
bool 
RemoveCertificateFromStore(
	
StoreLocation 
storeLocation, 
	
String^ 
storeName, 
	
String^ 
certificateThumbprint
)

Parameters

storeLocation
StoreLocation
Certificate store location
storeName
String
Certificate store name
certificateThumbprint
String
Thumbprint hash of the certificate

Return Value

true if certificate was found and removed, false if not

See Also