Share via


GetClaimsProviderTrustCommand.Certificate Property

Gets and sets the value of the Certificate parameter of the Get-ADFSClaimsProviderTrust cmdlet.

Namespace: Microsoft.IdentityServer.PowerShell.Commands
Assembly: Microsoft.IdentityServer.PowerShell (in Microsoft.IdentityServer.PowerShell)

Usage

'Usage
Dim instance As GetClaimsProviderTrustCommand
Dim value As X509Certificate2()

value = instance.Certificate

instance.Certificate = value

Syntax

'Declaration
<ParameterAttribute(Position:=0, Mandatory:=True, ValueFromPipeline:=True, ParameterSetName:="TokenSigningCertificates")> _
<ValidateNotNullAttribute> _
Public Property Certificate As X509Certificate2()
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName="TokenSigningCertificates")] 
[ValidateNotNullAttribute] 
public X509Certificate2[] Certificate { get; set; }
[ParameterAttribute(Position=0, Mandatory=true, ValueFromPipeline=true, ParameterSetName=L"TokenSigningCertificates")] 
[ValidateNotNullAttribute] 
public:
property array<X509Certificate2^>^ Certificate {
    array<X509Certificate2^>^ get ();
    void set (array<X509Certificate2^>^ value);
}
/** @property */
public X509Certificate2[] get_Certificate ()

/** @property */
public void set_Certificate (X509Certificate2[] value)
public function get Certificate () : X509Certificate2[]

public function set Certificate (value : X509Certificate2[])

Property Value

Returns X509Certificate2.

Remarks

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-ADFSClaimsProviderTrust in the Microsoft TechNet library.

For Help at the command line, type:

get-help get-adfsclaimsprovidertrust

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 Server 2008, Windows Server 2008 R2

Target Platforms

Windows Server 2008, Windows Server 2008 R2

See Also

Reference

GetClaimsProviderTrustCommand Class
GetClaimsProviderTrustCommand Members
Microsoft.IdentityServer.PowerShell.Commands Namespace