AWS SDK for .NET Documentation
DeleteKeyPairRequest Class
AmazonAmazon.EC2.ModelDeleteKeyPairRequest Did this page help you?   Yes   No    Tell us about it...
Deletes the specified key pair, by removing the public key from Amazon EC2. You must own the key pair.
Declaration Syntax
C#
public class DeleteKeyPairRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
DeleteKeyPairRequest()()()()
Initializes a new instance of the DeleteKeyPairRequest class

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetKeyName()()()()
Checks if KeyName property is set

KeyName
Name of the key pair to delete.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithKeyName(String) Obsolete.
Sets the name of the key pair to delete.

Inheritance Hierarchy
Object
EC2Request
 DeleteKeyPairRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)