Amazon.Runtime.Internal.Auth.SharedCredentialsFile.DeleteProfile C# (CSharp) Method

DeleteProfile() public method

Deletes the section with the given ProfileName from the SharedCredentialsFile, if one exists. Changes are not written to disk until the Persist() method is called.
public DeleteProfile ( string profileName ) : void
profileName string ProfileName of section to delete
return void
        public void DeleteProfile(string profileName)
        {
            iniFile.DeleteSection(profileName);
        }