GetHotFixCommand.Credential Property
Gets and sets the value of the Credential parameter of the Get-HotFix cmdlet. This property is introduced in Windows PowerShell 2.0.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Management (in Microsoft.PowerShell.Commands.Management.dll)
Usage
'Usage
Dim instance As GetHotFixCommand
Dim value As PSCredential
value = instance.Credential
instance.Credential = value
Syntax
'Declaration
<CredentialAttribute> _
<ParameterAttribute> _
<ValidateNotNullOrEmptyAttribute> _
Public Property Credential As PSCredential
[CredentialAttribute]
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
public PSCredential Credential { get; set; }
[CredentialAttribute]
[ParameterAttribute]
[ValidateNotNullOrEmptyAttribute]
public:
property PSCredential^ Credential {
PSCredential^ get ();
void set (PSCredential^ value);
}
/** @property */
public PSCredential get_Credential ()
/** @property */
public void set_Credential (PSCredential value)
public function get Credential () : PSCredential
public function set Credential (value : PSCredential)
Property Value
A PSCredential object that contains information about the user account that has permissions to retrieve the hotfixes.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-HotFix in the Microsoft TechNet library.
For Help at the command line, type:
get-help get-hotfix
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
GetHotFixCommand Class
GetHotFixCommand Members
Microsoft.PowerShell.Commands Namespace