ClusterConfig.AddCertificate Method (String, X509Certificate2)
Adds a certificate that will be used by the cluster from an X509Certificate2 object.
Namespace: Microsoft.Hpc.Azure.ClusterConfig
Assembly: Microsoft.Hpc.Azure.ClusterConfig (in Microsoft.Hpc.Azure.ClusterConfig.dll)
Usage
'Usage
Dim instance As ClusterConfig
Dim certName As String
Dim cert As X509Certificate2
instance.AddCertificate(certName, cert)
Syntax
'Declaration
Public Sub AddCertificate ( _
certName As String, _
cert As X509Certificate2 _
)
public void AddCertificate (
string certName,
X509Certificate2 cert
)
public:
void AddCertificate (
String^ certName,
X509Certificate2^ cert
)
public void AddCertificate (
String certName,
X509Certificate2 cert
)
public function AddCertificate (
certName : String,
cert : X509Certificate2
)
Parameters
- certName
The name of the certificate
- cert
The X509Certificate object.
Remarks
Platform Note: This method was introduced in the Windows Azure SDK v 1.6 with the Windows Azure HPC Scheduler SDK. It is not supported in previous versions.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012
Target Platforms
Windows Server 2008 R2, Windows Server 2012
See Also
Reference
ClusterConfig Class
ClusterConfig Members
Microsoft.Hpc.Azure.ClusterConfig Namespace
Build Date:
2013-04-22