This topic has not yet been rated - Rate this topic

CredentialAttribute Constructor

Initializes a new instance of the CredentialAttribute class.


Namespace: System.Management.Automation
Assembly: System.Management.Automation (in System.Management.Automation.dll)
'Usage
Dim instance As New CredentialAttribute
public CredentialAttribute ()
public CredentialAttribute ()
public function CredentialAttribute ()

When this attribute is declared, Windows PowerShell uses the current host to determine whether any prompts are displayed to the user. For example, the default host provides a prompt for the user name and the password when this attribute is declared. For more information about using this attribute, see Credential Attribute Declaration.


 

Target Platforms

Windows Developer Preview, Windows Server Developer Preview

Send comments about this topic to Microsoft.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.