CredentialAttribute Members

Defines the attribute used to generate a PSCredential object. Typically this attribute is used by parameters of type PSCredential so that a string can also be passed as an argument to the parameter.

The following tables list the members exposed by the CredentialAttribute type.

  Name Description
  CredentialAttribute Initializes a new instance of the CredentialAttribute class.

  Name Description
public property TypeId  (Inherited from Attribute)

(see also Protected Methods)
public methodEquals  Overridden. (Inherited from Object)
public methodGetHashCode  Overridden. (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodIsDefaultAttribute  (Inherited from Attribute)
public methodMatch  (Inherited from Attribute)
public methodToString  (Inherited from Object)
public methodTransformOverridden. Transforms the input data into a PSCredential object.

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)

  Name Description
  GetIDsOfNames  (Inherited from Attribute)
  GetTypeInfo  (Inherited from Attribute)
  GetTypeInfoCount  (Inherited from Attribute)
  Invoke  (Inherited from Attribute)

© 2014 Microsoft