Share via


TestComputerSecureChannelCommand.Credential Property

Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)

Usage

'Usage
Dim instance As TestComputerSecureChannelCommand
Dim value As PSCredential

value = instance.Credential

instance.Credential = value

Syntax

'Declaration
<CredentialAttribute> _
<ValidateNotNullOrEmptyAttribute> _
<ParameterAttribute> _
Public Property Credential As PSCredential
[CredentialAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute] 
public PSCredential Credential { get; set; }
[CredentialAttribute] 
[ValidateNotNullOrEmptyAttribute] 
[ParameterAttribute] 
public:
property PSCredential^ Credential {
    PSCredential^ get ();
    void set (PSCredential^ value);
}
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public PSCredential get_Credential ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_Credential (PSCredential value)
CompilerGeneratedAttribute 
public function get Credential () : PSCredential

CompilerGeneratedAttribute 
public function set Credential (value : PSCredential)

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

Target Platforms

See Also

Reference

TestComputerSecureChannelCommand Class
TestComputerSecureChannelCommand Members
Microsoft.PowerShell.Commands Namespace