CredentialAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the attribute used to designate a cmdlet parameter as one that should accept credentials.
public ref class CredentialAttribute sealed : System::Management::Automation::ArgumentTransformationAttribute
[System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class CredentialAttribute : System.Management.Automation.ArgumentTransformationAttribute
[<System.AttributeUsage(System.AttributeTargets.Field | System.AttributeTargets.Property, AllowMultiple=false)>]
type CredentialAttribute = class
inherit ArgumentTransformationAttribute
Public NotInheritable Class CredentialAttribute
Inherits ArgumentTransformationAttribute
- Inheritance
- Attributes
Constructors
CredentialAttribute() |
Properties
TransformNullOptionalParameters |
Methods
Transform(EngineIntrinsics, Object) |
Transforms the input data to an PSCredential. |